summaryrefslogtreecommitdiff
path: root/lib/spack/spack/cmd/install.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/spack/spack/cmd/install.py')
-rw-r--r--lib/spack/spack/cmd/install.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/spack/spack/cmd/install.py b/lib/spack/spack/cmd/install.py
index bf5aa14376..a4c6e5932e 100644
--- a/lib/spack/spack/cmd/install.py
+++ b/lib/spack/spack/cmd/install.py
@@ -54,9 +54,7 @@ the default is to install the package along with all its dependencies.
alternatively one can decide to install only the package or only
the dependencies"""
)
- subparser.add_argument(
- '-j', '--jobs', action='store', type=int,
- help="explicitly set number of make jobs (default: #cpus)")
+ arguments.add_common_arguments(subparser, ['jobs'])
subparser.add_argument(
'--overwrite', action='store_true',
help="reinstall an existing spec, even if it has dependents")