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 bethard, paul.j3, petri.lehtinen, pwil3058
Date 2014-04-25.05:22:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1398403338.02.0.241397442203.issue11708@psf.upfronthosting.co.za>
In-reply-to
Content
This patch adds a ReGroupHelpFormatter class, which regroups positional arguments in the usage line as discussed before.  It builds on the reworked usage formatter in bugs/python.org/issue11874 (which keeps usage as a list longer).

For a complicate parser, usage may look like:

    usage: regp [-h] foo [arg1 [arg2 [arg3 [arg3 ...] [arg4]]]]
History
Date User Action Args
2014-04-25 05:22:18paul.j3setrecipients: + paul.j3, bethard, pwil3058, petri.lehtinen
2014-04-25 05:22:18paul.j3setmessageid: <1398403338.02.0.241397442203.issue11708@psf.upfronthosting.co.za>
2014-04-25 05:22:17paul.j3linkissue11708 messages
2014-04-25 05:22:17paul.j3create