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 paul.j3
Recipients berker.peksag, bethard, chris.jerdonek, jcon, paul.j3, petri.lehtinen
Date 2014-06-20.21:11:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1403298717.16.0.988748045262.issue11695@psf.upfronthosting.co.za>
In-reply-to
Content
This patch has a 'custom_help' which, with a default template, is compatible with 'format_help' (i.e. it passes test_argparse).  It also handles the sample template in this issue.

Due to long line wrapping issues, the 'Usage: ' string the test template has to be entered separately as a usage 'prefix'.  Indenting of long wrapped values (like usage) is correct only if the '%(...)s' string is at the start of a line.

I see this as a test-of-concept patch.
History
Date User Action Args
2014-06-20 21:11:57paul.j3setrecipients: + paul.j3, bethard, chris.jerdonek, jcon, petri.lehtinen, berker.peksag
2014-06-20 21:11:57paul.j3setmessageid: <1403298717.16.0.988748045262.issue11695@psf.upfronthosting.co.za>
2014-06-20 21:11:57paul.j3linkissue11695 messages
2014-06-20 21:11:57paul.j3create