Print groups properly for spack find -d (#20028)
This commit is contained in:
parent
0f82fa5151
commit
f8124369f9
@ -435,7 +435,7 @@ def format_list(specs):
|
||||
out = ''
|
||||
if groups:
|
||||
for specs in iter_groups(specs, indent, all_headers):
|
||||
out += format_list(specs)
|
||||
output.write(format_list(specs))
|
||||
else:
|
||||
out = format_list(sorted(specs))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user