summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMatthew Scott Krafczyk <krafczyk.matthew@gmail.com>2017-08-28 12:35:46 -0500
committerscheibelp <scheibel1@llnl.gov>2017-08-28 10:35:46 -0700
commitc94933343a9459503dc95628a4c0bd09fdcb60ac (patch)
tree2a7a801b19108780762c23e77a40337d786de83d /share
parent005b22aa8b8a68a5d0afe3fc3d06f8e1d85b35da (diff)
downloadspack-c94933343a9459503dc95628a4c0bd09fdcb60ac.tar.gz
spack-c94933343a9459503dc95628a4c0bd09fdcb60ac.tar.bz2
spack-c94933343a9459503dc95628a4c0bd09fdcb60ac.tar.xz
spack-c94933343a9459503dc95628a4c0bd09fdcb60ac.zip
Add --show-full-compiler option to 'spack find'
When 'spack find' is invoked with the '--show-full-compiler' option, the compiler flags and version are shown for each spec that is found.
Diffstat (limited to 'share')
-rwxr-xr-xshare/spack/spack-completion.bash6
1 files changed, 3 insertions, 3 deletions
diff --git a/share/spack/spack-completion.bash b/share/spack/spack-completion.bash
index 05ae403eb5..4eb1c1c038 100755
--- a/share/spack/spack-completion.bash
+++ b/share/spack/spack-completion.bash
@@ -407,9 +407,9 @@ function _spack_find {
if $list_options
then
compgen -W "-h --help -s --short -p --paths -d --deps -l --long
- -L --very-long -f --show-flags -e --explicit
- -E --implicit -u --unknown -m --missing -v --variants
- -M --only-missing -N --namespace" -- "$cur"
+ -L --very-long -f --show-flags --show-full-compiler
+ -e --explicit -E --implicit -u --unknown -m --missing
+ -v --variants -M --only-missing -N --namespace" -- "$cur"
else
compgen -W "$(_installed_packages)" -- "$cur"
fi