Merge bug23649 into default

This commit is contained in:
Rob Harrop 2011-01-07 11:20:04 +00:00
commit 350ace2a18
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ where cmd is one of:
def fmt_usage_stanza(root, verb):
def fmt_args(args):
res = " ".join(["<{0}>".format(a) for a in args['mandatory']])
res = " ".join(["{0}=...".format(a) for a in args['mandatory']])
opts = " ".join("{0}=...".format(o) for o in args['optional'].keys())
if opts != "":
res += " [{0}]".format(opts)