From ae87828520d7541b9717a9abcb76873d5be12670 Mon Sep 17 00:00:00 2001 From: Patrick Gartung Date: Tue, 25 Feb 2020 17:49:25 -0600 Subject: 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 --- share/spack/spack-completion.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share') 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 -- cgit v1.2.3-70-g09d2