Skip to content
Snippets Groups Projects
Unverified Commit e0b94dba authored by Todd Gamblin's avatar Todd Gamblin Committed by GitHub
Browse files

completion: add bash completion for `spack spec --json` (#13433)

parent ab55890b
Branches
Tags
No related merge requests found
...@@ -1051,7 +1051,8 @@ function _spack_spec { ...@@ -1051,7 +1051,8 @@ function _spack_spec {
if $list_options if $list_options
then then
compgen -W "-h --help -l --long -L --very-long -I --install-status 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 else
compgen -W "$(_all_packages)" -- "$cur" compgen -W "$(_all_packages)" -- "$cur"
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment