Message192844
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. |
|
Date |
User |
Action |
Args |
2013-07-11 06:33:09 | paul.j3 | set | recipients:
+ paul.j3, bethard, gotgenes, micktwomey |
2013-07-11 06:33:09 | paul.j3 | set | messageid: <1373524389.8.0.949879031983.issue10984@psf.upfronthosting.co.za> |
2013-07-11 06:33:09 | paul.j3 | link | issue10984 messages |
2013-07-11 06:33:09 | paul.j3 | create | |
|