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 techtonik
Recipients bethard, sandro.tosi, techtonik
Date 2011-03-26.11:20:43
SpamBayes Score 4.4468848e-06
Marked as misclassified No
Message-id <AANLkTinJLVu--wh88bc4v-YXp4+CDmRCc0HTVjakb2Dg@mail.gmail.com>
In-reply-to <1301134813.4.0.909666638413.issue7284@psf.upfronthosting.co.za>
Content
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".
History
Date User Action Args
2011-03-26 11:20:45techtoniksetrecipients: + techtonik, bethard, sandro.tosi
2011-03-26 11:20:43techtoniklinkissue7284 messages
2011-03-26 11:20:43techtonikcreate