From c94933343a9459503dc95628a4c0bd09fdcb60ac Mon Sep 17 00:00:00 2001
From: Matthew Scott Krafczyk <krafczyk.matthew@gmail.com>
Date: Mon, 28 Aug 2017 12:35:46 -0500
Subject: 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.
---
 share/spack/spack-completion.bash | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'share')

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
-- 
cgit v1.2.3-70-g09d2