paul j3 added the comment:
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]]]]
----------
keywords: +patch
Added file: http://bugs.python.org/file35034/regroup.patch
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue11708>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com