summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2022-10-29 21:24:26 +0200
committerGitHub <noreply@github.com>2022-10-29 12:24:26 -0700
commit7e645f54c5d0ab78592436988576a0f2765e9fab (patch)
tree059b3e0aa1072c1cd73adb87ecc32317e37bd4b9 /share
parent29f1e8395c16831d2fe06cfa9aa8c49dc8cc96a6 (diff)
downloadspack-7e645f54c5d0ab78592436988576a0f2765e9fab.tar.gz
spack-7e645f54c5d0ab78592436988576a0f2765e9fab.tar.bz2
spack-7e645f54c5d0ab78592436988576a0f2765e9fab.tar.xz
spack-7e645f54c5d0ab78592436988576a0f2765e9fab.zip
Deprecate spack bootstrap trust/untrust (#33600)
* Deprecate spack bootstrap trust/untrust * Update CI * Update tests
Diffstat (limited to 'share')
-rwxr-xr-xshare/spack/spack-completion.bash14
1 files changed, 12 insertions, 2 deletions
diff --git a/share/spack/spack-completion.bash b/share/spack/spack-completion.bash
index 48e4c86b42..f0588e5368 100755
--- a/share/spack/spack-completion.bash
+++ b/share/spack/spack-completion.bash
@@ -425,11 +425,21 @@ _spack_bootstrap_status() {
}
_spack_bootstrap_enable() {
- SPACK_COMPREPLY="-h --help --scope"
+ if $list_options
+ then
+ SPACK_COMPREPLY="-h --help --scope"
+ else
+ SPACK_COMPREPLY=""
+ fi
}
_spack_bootstrap_disable() {
- SPACK_COMPREPLY="-h --help --scope"
+ if $list_options
+ then
+ SPACK_COMPREPLY="-h --help --scope"
+ else
+ SPACK_COMPREPLY=""
+ fi
}
_spack_bootstrap_reset() {