Fixed -l flag for 'spack extensions'
This commit is contained in:
parent
14b30de407
commit
9c30e0210b
1 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@
|
|||
def setup_parser(subparser):
|
||||
format_group = subparser.add_mutually_exclusive_group()
|
||||
format_group.add_argument(
|
||||
'-l', '--long', action='store_const', dest='mode', const='long',
|
||||
'-l', '--long', action='store_true', dest='long',
|
||||
help='Show dependency hashes as well as versions.')
|
||||
format_group.add_argument(
|
||||
'-p', '--paths', action='store_const', dest='mode', const='paths',
|
||||
|
@ -95,4 +95,4 @@ def extensions(parser, args):
|
|||
tty.msg("None activated.")
|
||||
return
|
||||
tty.msg("%d currently activated:" % len(activated))
|
||||
spack.cmd.find.display_specs(activated.values(), mode=args.mode)
|
||||
spack.cmd.find.display_specs(activated.values(), mode=args.mode, long=args.long)
|
||||
|
|
Loading…
Reference in a new issue