summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2022-10-19 19:25:20 +0200
committerGitHub <noreply@github.com>2022-10-19 19:25:20 +0200
commit7ad7fde09cc62a5edfc44dea5fbc5324d07d4c37 (patch)
treee91852d31e0847ee3e4c40ba805833f0fe07e7f8 /share
parent25cbb34579bacc704c7f17f691cb36bf8f08b17b (diff)
downloadspack-7ad7fde09cc62a5edfc44dea5fbc5324d07d4c37.tar.gz
spack-7ad7fde09cc62a5edfc44dea5fbc5324d07d4c37.tar.bz2
spack-7ad7fde09cc62a5edfc44dea5fbc5324d07d4c37.tar.xz
spack-7ad7fde09cc62a5edfc44dea5fbc5324d07d4c37.zip
Add a command to bootstrap Spack right now (#33407)
Diffstat (limited to 'share')
-rwxr-xr-xshare/spack/spack-completion.bash6
1 files changed, 5 insertions, 1 deletions
diff --git a/share/spack/spack-completion.bash b/share/spack/spack-completion.bash
index 1543cffd92..8b12116fe9 100755
--- a/share/spack/spack-completion.bash
+++ b/share/spack/spack-completion.bash
@@ -412,10 +412,14 @@ _spack_bootstrap() {
then
SPACK_COMPREPLY="-h --help"
else
- SPACK_COMPREPLY="status enable disable reset root list trust untrust add remove mirror"
+ SPACK_COMPREPLY="now status enable disable reset root list trust untrust add remove mirror"
fi
}
+_spack_bootstrap_now() {
+ SPACK_COMPREPLY="-h --help"
+}
+
_spack_bootstrap_status() {
SPACK_COMPREPLY="-h --help --optional --dev"
}