Fix bash tab completion for spack install (#6868)

This commit is contained in:
Adam J. Stewart 2018-01-10 06:51:04 -06:00 committed by Massimiliano Culpo
parent 824e078140
commit 5f6df40f3b

View file

@ -454,9 +454,11 @@ function _spack_info {
function _spack_install { function _spack_install {
if $list_options if $list_options
then then
compgen -W "-h --help --only -j --jobs --keep-prefix --keep-stage compgen -W "-h --help --only -j --jobs --overwrite --keep-prefix
-n --no-checksum -v --verbose --fake --clean --dirty --keep-stage --dont-restage --use-cache --show-log-on-error
--run-tests --log-format --log-file --source" -- "$cur" --source -n --no-checksum -v --verbose --fake -f --file
--clean --dirty --test --log-format --log-file -y
--yes-to-all" -- "$cur"
else else
compgen -W "$(_all_packages)" -- "$cur" compgen -W "$(_all_packages)" -- "$cur"
fi fi