New submission from Nick Coghlan <ncogh...@gmail.com>:

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.

----------
components: Library (Lib)
messages: 153516
nosy: bethard, ncoghlan
priority: normal
severity: normal
stage: needs patch
status: open
title: Add "metavar" argument to add_subparsers() in argparse
type: enhancement
versions: Python 3.3

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14039>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to