diff options
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/docs/CommandGuide/lit.rst | 2 | ||||
-rw-r--r-- | llvm/utils/lit/lit/cl_arguments.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/docs/CommandGuide/lit.rst b/llvm/docs/CommandGuide/lit.rst index 7bb499b971d..ff70a21b8df 100644 --- a/llvm/docs/CommandGuide/lit.rst +++ b/llvm/docs/CommandGuide/lit.rst @@ -53,7 +53,7 @@ GENERAL OPTIONS 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. diff --git a/llvm/utils/lit/lit/cl_arguments.py b/llvm/utils/lit/lit/cl_arguments.py index 49992609a6a..e5435d60d4b 100644 --- a/llvm/utils/lit/lit/cl_arguments.py +++ b/llvm/utils/lit/lit/cl_arguments.py @@ -16,7 +16,7 @@ def parse_args(): 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", |