cmd/install: remove unused install_status option (#13751)

* cmd/install: remove unused install_status option

* update bash completions for spack install
This commit is contained in:
Greg Becker 2019-11-22 11:17:37 -07:00 committed by GitHub
parent f53abbecd3
commit 6c55a7c85f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 7 deletions

View file

@ -72,7 +72,7 @@ def setup_parser(subparser):
subparser.add_argument(
'-u', '--until', type=str, dest='until', default=None,
help="phase to stop after when installing (default None)")
arguments.add_common_arguments(subparser, ['jobs', 'install_status'])
arguments.add_common_arguments(subparser, ['jobs'])
subparser.add_argument(
'--overwrite', action='store_true',
help="reinstall an existing spec, even if it has dependents")

View file

@ -635,12 +635,13 @@ function _spack_info {
function _spack_install {
if $list_options
then
compgen -W "-h --help --only -j --jobs -I --install-status
--overwrite --keep-prefix --keep-stage --dont-restage
--use-cache --no-cache --show-log-on-error --source
-n --no-checksum -v --verbose --fake --only-concrete
-f --file --clean --dirty --test --log-format --log-file
--cdash-upload-url -y --yes-to-all" -- "$cur"
compgen -W "-h --help --only -j --jobs --overwrite --keep-prefix
--keep-stage --dont-restage --use-cache --no-cache
--cache-only --show-log-on-error --source -n --no-checksum
-v --verbose --fake --only-concrete -f --file --clean
--dirty --test --run-tests --log-format --log-file
--cdash-upload-url --cdash-build --cdash-site --cdash-track
--cdash-buildstamp -y --yes-to-all" -- "$cur"
else
compgen -W "$(_all_packages)" -- "$cur"
fi