anatoly techtonik <techto...@gmail.com> added the comment:

On Sat, Mar 26, 2011 at 12:20 PM, Steven Bethard <rep...@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".

----------

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

Reply via email to