"spack extensions" shows total extension count.

This commit is contained in:
Todd Gamblin 2015-02-08 23:26:15 -08:00
parent c077f05705
commit aae364b4c9

View File

@ -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.