Tweak for help output
This commit is contained in:
parent
8d51c95e68
commit
9ef471420d
1 changed files with 1 additions and 2 deletions
|
@ -35,8 +35,7 @@ parser.add_argument('-m', '--mock', action='store_true', dest='mock',
|
||||||
|
|
||||||
# each command module implements a parser() function, to which we pass its
|
# each command module implements a parser() function, to which we pass its
|
||||||
# subparser for setup.
|
# subparser for setup.
|
||||||
subparsers = parser.add_subparsers(
|
subparsers = parser.add_subparsers(metavar='COMMAND', dest="command")
|
||||||
title="commands", metavar='<command>', dest="command")
|
|
||||||
|
|
||||||
import spack.cmd
|
import spack.cmd
|
||||||
for cmd in spack.cmd.commands:
|
for cmd in spack.cmd.commands:
|
||||||
|
|
Loading…
Reference in a new issue