summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2022-02-18 19:51:01 +0100
committerGitHub <noreply@github.com>2022-02-18 11:51:01 -0700
commit7fd94fc4bc1e8609cc44524dd1139e3d63bb571f (patch)
tree2dc901dc5abf5b286130645311bdc3dfdf86a052 /share
parent2ed52d32c7d99a4106f7d8a3d2d519a4c57e162e (diff)
downloadspack-7fd94fc4bc1e8609cc44524dd1139e3d63bb571f.tar.gz
spack-7fd94fc4bc1e8609cc44524dd1139e3d63bb571f.tar.bz2
spack-7fd94fc4bc1e8609cc44524dd1139e3d63bb571f.tar.xz
spack-7fd94fc4bc1e8609cc44524dd1139e3d63bb571f.zip
spack external find: change default behavior (#29031)
See https://github.com/spack/spack/issues/25353#issuecomment-1041868116 This commit changes the default behavior of ``` $ spack external find ``` from searching all the possible packages Spack knows about to search only for the ones tagged as being a "build-tool". It also introduces a `--all` option to restore the old behavior.
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 26a19c15a9..6531761e89 100755
--- a/share/spack/spack-completion.bash
+++ b/share/spack/spack-completion.bash
@@ -1024,7 +1024,7 @@ _spack_external() {
_spack_external_find() {
if $list_options
then
- SPACK_COMPREPLY="-h --help --not-buildable --scope -t --tag"
+ SPACK_COMPREPLY="-h --help --not-buildable --scope --all -t --tag"
else
_all_packages
fi