Message132229
On Sat, Mar 26, 2011 at 12:20 PM, Steven Bethard <report@bugs.python.org> wrote:
> I guess we could add, say, a headline= option to ArgumentParser which would then be printed before the usage message if it's really crucial to have that message first... I'd rather not though if the description= approach is acceptable to you, since adding headline= would add more complexity to an already complex ArgumentParser constructor.
Instead of adding "epilog", "usage", "description" to constructor, you
could just add one "usage_template" with these substitution variables,
including "version". |
|
Date |
User |
Action |
Args |
2011-03-26 11:20:45 | techtonik | set | recipients:
+ techtonik, bethard, sandro.tosi |
2011-03-26 11:20:43 | techtonik | link | issue7284 messages |
2011-03-26 11:20:43 | techtonik | create | |
|