Better help formatting.

This commit is contained in:
Todd Gamblin 2013-04-08 23:00:42 -07:00
parent 39b242a134
commit 453471cb05

View file

@ -29,7 +29,8 @@ parser.add_argument('-d', '--debug', action='store_true', dest='debug',
# 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(title="subcommands", dest="command") subparsers = parser.add_subparsers(
title="commands", metavar='<command>', dest="command")
import spack.cmd import spack.cmd
for cmd in spack.cmd.commands: for cmd in spack.cmd.commands: