summaryrefslogtreecommitdiff
path: root/share/spack/spack-completion.bash
diff options
context:
space:
mode:
Diffstat (limited to 'share/spack/spack-completion.bash')
-rwxr-xr-xshare/spack/spack-completion.bash3
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