From 5f6df40f3be54e941cc48f1318d290c5265c51ea Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Wed, 10 Jan 2018 06:51:04 -0600 Subject: [PATCH] Fix bash tab completion for spack install (#6868) --- share/spack/spack-completion.bash | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/share/spack/spack-completion.bash b/share/spack/spack-completion.bash index 56cbfef792..8f549b0933 100755 --- a/share/spack/spack-completion.bash +++ b/share/spack/spack-completion.bash @@ -454,9 +454,11 @@ function _spack_info { function _spack_install { if $list_options then - compgen -W "-h --help --only -j --jobs --keep-prefix --keep-stage - -n --no-checksum -v --verbose --fake --clean --dirty - --run-tests --log-format --log-file --source" -- "$cur" + compgen -W "-h --help --only -j --jobs --overwrite --keep-prefix + --keep-stage --dont-restage --use-cache --show-log-on-error + --source -n --no-checksum -v --verbose --fake -f --file + --clean --dirty --test --log-format --log-file -y + --yes-to-all" -- "$cur" else compgen -W "$(_all_packages)" -- "$cur" fi