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
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment