Tweak for help output

This commit is contained in:
Todd Gamblin 2013-12-09 20:14:47 -08:00
parent 8d51c95e68
commit 9ef471420d

View file

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