completion: add bash completion for spack spec --json
(#13433)
This commit is contained in:
parent
ab55890ba8
commit
e0b94dba14
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user