Message217153
| 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:18 | paul.j3 | set | recipients: + paul.j3, bethard, pwil3058, petri.lehtinen |
| 2014-04-25 05:22:18 | paul.j3 | set | messageid: <1398403338.02.0.241397442203.issue11708@psf.upfronthosting.co.za> |
| 2014-04-25 05:22:17 | paul.j3 | link | issue11708 messages |
| 2014-04-25 05:22:17 | paul.j3 | create | |