summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rwxr-xr-xshare/spack/spack-completion.bash11
1 files changed, 10 insertions, 1 deletions
diff --git a/share/spack/spack-completion.bash b/share/spack/spack-completion.bash
index ef15f38c6b..436ff345e7 100755
--- a/share/spack/spack-completion.bash
+++ b/share/spack/spack-completion.bash
@@ -386,7 +386,7 @@ _spack_audit() {
then
SPACK_COMPREPLY="-h --help"
else
- SPACK_COMPREPLY="configs packages list"
+ SPACK_COMPREPLY="configs packages-https packages list"
fi
}
@@ -394,6 +394,15 @@ _spack_audit_configs() {
SPACK_COMPREPLY="-h --help"
}
+_spack_audit_packages_https() {
+ if $list_options
+ then
+ SPACK_COMPREPLY="-h --help --all"
+ else
+ SPACK_COMPREPLY=""
+ fi
+}
+
_spack_audit_packages() {
if $list_options
then