diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2019-10-25 11:02:52 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-25 11:02:52 -0700 |
commit | e0b94dba14dcc3e5baa43cb2738fa32b3859c100 (patch) | |
tree | 96279453185740b5b58e667faaaeec252602cc4a /share | |
parent | ab55890ba85fe03f649a6173a996bf3c9435b011 (diff) | |
download | spack-e0b94dba14dcc3e5baa43cb2738fa32b3859c100.tar.gz spack-e0b94dba14dcc3e5baa43cb2738fa32b3859c100.tar.bz2 spack-e0b94dba14dcc3e5baa43cb2738fa32b3859c100.tar.xz spack-e0b94dba14dcc3e5baa43cb2738fa32b3859c100.zip |
completion: add bash completion for `spack spec --json` (#13433)
Diffstat (limited to 'share')
-rwxr-xr-x | share/spack/spack-completion.bash | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/share/spack/spack-completion.bash b/share/spack/spack-completion.bash index 935092aedb..5e8936125f 100755 --- a/share/spack/spack-completion.bash +++ b/share/spack/spack-completion.bash @@ -1051,7 +1051,8 @@ function _spack_spec { if $list_options then compgen -W "-h --help -l --long -L --very-long -I --install-status - -y --yaml -c --cover -N --namespaces -t --types" -- "$cur" + -j --json -y --yaml -c --cover -N --namespaces + -t --types" -- "$cur" else compgen -W "$(_all_packages)" -- "$cur" fi |