summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@googlemail.com>2016-11-13 12:45:29 +0100
committerTodd Gamblin <tgamblin@llnl.gov>2016-11-13 04:45:29 -0700
commit7e93a0e5f1b57723cd66e015dd74ea6ab2b86879 (patch)
tree14191a7c1ab326ceb33e7c2212c35706eb3c4dab /lib
parent05c6c40e36b340e9489313eb1538a5d3e0b72c89 (diff)
downloadspack-7e93a0e5f1b57723cd66e015dd74ea6ab2b86879.tar.gz
spack-7e93a0e5f1b57723cd66e015dd74ea6ab2b86879.tar.bz2
spack-7e93a0e5f1b57723cd66e015dd74ea6ab2b86879.tar.xz
spack-7e93a0e5f1b57723cd66e015dd74ea6ab2b86879.zip
install: fixed choices for `--only` (removed the default) fixes #2303 (#2308)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/cmd/install.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/cmd/install.py b/lib/spack/spack/cmd/install.py
index 79af35d3a0..de45c7ca4f 100644
--- a/lib/spack/spack/cmd/install.py
+++ b/lib/spack/spack/cmd/install.py
@@ -47,7 +47,7 @@ def setup_parser(subparser):
'--only',
default='package,dependencies',
dest='things_to_install',
- choices=['package', 'dependencies', 'package,dependencies'],
+ choices=['package', 'dependencies'],
help="""Select the mode of installation.
The default is to install the package along with all its dependencies.
Alternatively one can decide to install only the package or only