summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2019-05-27 14:13:58 -0700
committerGitHub <noreply@github.com>2019-05-27 14:13:58 -0700
commit2a51e07fdecf317be5d7ad8cfbda54a0f39f583b (patch)
tree961dd3c573fcf840c1db71384cc934407d3b06cf
parent3ae5262182ea585b5547fd3d2b60738c99262728 (diff)
downloadspack-2a51e07fdecf317be5d7ad8cfbda54a0f39f583b.tar.gz
spack-2a51e07fdecf317be5d7ad8cfbda54a0f39f583b.tar.bz2
spack-2a51e07fdecf317be5d7ad8cfbda54a0f39f583b.tar.xz
spack-2a51e07fdecf317be5d7ad8cfbda54a0f39f583b.zip
commands: completion for new --update and --header options (#11566)
-rwxr-xr-xshare/spack/spack-completion.bash4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/spack/spack-completion.bash b/share/spack/spack-completion.bash
index c4113ab0da..a1795647a6 100755
--- a/share/spack/spack-completion.bash
+++ b/share/spack/spack-completion.bash
@@ -243,7 +243,7 @@ function _spack_clone {
function _spack_commands {
if $list_options
then
- compgen -W "-h --help --format" -- "$cur"
+ compgen -W "-h --help --format --header --update" -- "$cur"
fi
}
@@ -664,7 +664,7 @@ function _spack_license_verify {
function _spack_list {
if $list_options
then
- compgen -W "-h --help -d --search-description --format
+ compgen -W "-h --help -d --search-description --format --update
-t --tags" -- "$cur"
else
compgen -W "$(_all_packages)" -- "$cur"