install: fixed choices for --only (removed the default) fixes #2303 (#2308)

This commit is contained in:
Massimiliano Culpo 2016-11-13 12:45:29 +01:00 committed by Todd Gamblin
parent 05c6c40e36
commit 7e93a0e5f1

View File

@ -47,7 +47,7 @@ def setup_parser(subparser):
'--only', '--only',
default='package,dependencies', default='package,dependencies',
dest='things_to_install', dest='things_to_install',
choices=['package', 'dependencies', 'package,dependencies'], choices=['package', 'dependencies'],
help="""Select the mode of installation. help="""Select the mode of installation.
The default is to install the package along with all its dependencies. The default is to install the package along with all its dependencies.
Alternatively one can decide to install only the package or only Alternatively one can decide to install only the package or only