summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2018-01-10 06:51:04 -0600
committerMassimiliano Culpo <massimiliano.culpo@gmail.com>2018-01-10 13:51:04 +0100
commit5f6df40f3be54e941cc48f1318d290c5265c51ea (patch)
tree2d0395a1981a9f4ae34d3392b610062a4b9064f5
parent824e078140a27d732426828bbb18ded05e4eda8a (diff)
downloadspack-5f6df40f3be54e941cc48f1318d290c5265c51ea.tar.gz
spack-5f6df40f3be54e941cc48f1318d290c5265c51ea.tar.bz2
spack-5f6df40f3be54e941cc48f1318d290c5265c51ea.tar.xz
spack-5f6df40f3be54e941cc48f1318d290c5265c51ea.zip
Fix bash tab completion for spack install (#6868)
-rwxr-xr-xshare/spack/spack-completion.bash8
1 files 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