This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ncoghlan
Recipients bethard, ncoghlan
Date 2012-02-16.23:51:43
SpamBayes Score 0.00010907978
Marked as misclassified No
Message-id <1329436304.54.0.709137632289.issue14039@psf.upfronthosting.co.za>
In-reply-to
Content
Currently, using add_subparsers() means that the entire list of subcommands is added to the main usage message. This gets rather unwieldy when there are a lot of subcommands.

It would be nice if the add_subparsers() method accepted a "metavar" argument that would be substituted into the usage string instead of using the subparser list directly.
History
Date User Action Args
2012-02-16 23:51:44ncoghlansetrecipients: + ncoghlan, bethard
2012-02-16 23:51:44ncoghlansetmessageid: <1329436304.54.0.709137632289.issue14039@psf.upfronthosting.co.za>
2012-02-16 23:51:44ncoghlanlinkissue14039 messages
2012-02-16 23:51:43ncoghlancreate