"spack extensions" shows total extension count.
This commit is contained in:
parent
c077f05705
commit
aae364b4c9
@ -75,7 +75,8 @@ def extensions(parser, args):
|
|||||||
if not extensions:
|
if not extensions:
|
||||||
tty.msg("%s has no extensions." % spec.cshort_spec)
|
tty.msg("%s has no extensions." % spec.cshort_spec)
|
||||||
return
|
return
|
||||||
tty.msg("%s extensions:" % spec.cshort_spec)
|
tty.msg(spec.cshort_spec)
|
||||||
|
tty.msg("%d extensions:" % len(extensions))
|
||||||
colify(ext.name for ext in extensions)
|
colify(ext.name for ext in extensions)
|
||||||
|
|
||||||
# List specs of installed extensions.
|
# List specs of installed extensions.
|
||||||
|
Loading…
Reference in New Issue
Block a user