Message192954
While playing with some examples, I found that exclusive group formatting has another failure case. If the usage line is long enough to wrap, optionals and positionals are formatted separately, with positionals appearing on a separate line(s). That means that if a group includes a positional, it will not be marked.
So (shortening lines for convenience sake), instead of:
usage: [-h] ... (-a | -b | x)
we get
usage: [-h] ... [-a] [-b]
x
This is true even if arguments are added to the group in the normal way. |
|
Date |
User |
Action |
Args |
2013-07-12 18:18:24 | paul.j3 | set | recipients:
+ paul.j3, bethard, gotgenes, micktwomey |
2013-07-12 18:18:24 | paul.j3 | set | messageid: <1373653104.11.0.981900311177.issue10984@psf.upfronthosting.co.za> |
2013-07-12 18:18:24 | paul.j3 | link | issue10984 messages |
2013-07-12 18:18:23 | paul.j3 | create | |
|