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
# subparser for setup.
subparsers = parser.add_subparsers(
title="commands", metavar='<command>', dest="command")
subparsers = parser.add_subparsers(metavar='COMMAND', dest="command")
import spack.cmd
for cmd in spack.cmd.commands: