Bring back `--threads` option which was lost in the move of the
command line argument parsing code to cl_arguments.py. Update docs
since `--workers` is preferred.
llvm-svn: 374432
Show the :program:`lit` help message.
-.. option:: -j N, --threads=N
+.. option:: -j N, --workers=N
Run ``N`` tests in parallel. By default, this is automatically chosen to
match the number of detected available CPUs.
help="Show version and exit",
action="store_true",
default=False)
- parser.add_argument("-j", "--workers",
+ parser.add_argument("-j", "--threads", "--workers",
dest="numWorkers",
metavar="N",
help="Number of workers used for testing",