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, gotgenes, micktwomey, paul.j3
Date 2013-07-11.06:33:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1373524389.8.0.949879031983.issue10984@psf.upfronthosting.co.za>
In-reply-to
Content
One usage option is to make a subclass of HelpFormatter (the accepted way of customizing a formatter), and write a function that formats each group independently.  For the example case, the resulting format might be:

   usage: PROG [-h] [-b] [-a | -c] [-a | -d]

-h and -b are not part of any group.  These are followed by the two groups.  -a is repeated because it appears in both groups.
History
Date User Action Args
2013-07-11 06:33:09paul.j3setrecipients: + paul.j3, bethard, gotgenes, micktwomey
2013-07-11 06:33:09paul.j3setmessageid: <1373524389.8.0.949879031983.issue10984@psf.upfronthosting.co.za>
2013-07-11 06:33:09paul.j3linkissue10984 messages
2013-07-11 06:33:09paul.j3create