summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorPatrick Gartung <gartung@fnal.gov>2020-02-25 17:49:25 -0600
committerGitHub <noreply@github.com>2020-02-25 17:49:25 -0600
commitae87828520d7541b9717a9abcb76873d5be12670 (patch)
treef01255256d54a86b80d6c98bb1d3de100e191e57 /share
parent00090f8f97d3811d522f194911dc63c96dc81ce8 (diff)
downloadspack-ae87828520d7541b9717a9abcb76873d5be12670.tar.gz
spack-ae87828520d7541b9717a9abcb76873d5be12670.tar.bz2
spack-ae87828520d7541b9717a9abcb76873d5be12670.tar.xz
spack-ae87828520d7541b9717a9abcb76873d5be12670.zip
buildcache cmd: add explicit message with default output dir for buildcaches. (#15090)
* Make -d directory a required option. Print messages about where buildcaches will be written. * Add mutually exclusive required options * spack commands --update-completion * Apply @opadron's patch * Update share/spack/spack-completion.bash * Incorporate @opadron's suggestions
Diffstat (limited to 'share')
-rwxr-xr-xshare/spack/spack-completion.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/spack/spack-completion.bash b/share/spack/spack-completion.bash
index d2e4a28682..869d63be31 100755
--- a/share/spack/spack-completion.bash
+++ b/share/spack/spack-completion.bash
@@ -382,7 +382,7 @@ _spack_buildcache() {
_spack_buildcache_create() {
if $list_options
then
- SPACK_COMPREPLY="-h --help -r --rel -f --force -u --unsigned -a --allow-root -k --key -d --directory --no-rebuild-index -y --spec-yaml --only"
+ SPACK_COMPREPLY="-h --help -r --rel -f --force -u --unsigned -a --allow-root -k --key -d --directory -m --mirror-name --mirror-url --no-rebuild-index -y --spec-yaml --only"
else
_all_packages
fi