spack spec: add '--format' argument (#27908)

This commit is contained in:
lorddavidiii
2022-04-26 16:08:56 +00:00
committed by GitHub
parent 254cd624fe
commit 3a0aba0835
3 changed files with 15 additions and 4 deletions

View File

@@ -1670,7 +1670,7 @@ _spack_solve() {
_spack_spec() {
if $list_options
then
SPACK_COMPREPLY="-h --help -l --long -L --very-long -I --install-status -y --yaml -j --json -c --cover -N --namespaces --hash-type -t --types -U --fresh --reuse"
SPACK_COMPREPLY="-h --help -l --long -L --very-long -I --install-status -y --yaml -j --json --format -c --cover -N --namespaces --hash-type -t --types -U --fresh --reuse"
else
_all_packages
fi