Fix bash tab completion for spack install (#6868)
This commit is contained in:
parent
824e078140
commit
5f6df40f3b
1 changed files with 5 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue