Message405531
https://bugs.python.org/issue29553
Argparser does not display closing parentheses in nested mutex groups
supposedly fixed the parentheses for nested groups. You can read its discussion and patches to see why it does not handle your case.
I don't see any examples have required groups. [] is used for un-required, () for required. This patch did not change how the usage was generated. It just refined how excess [()] were removed.
Proper handling of groups requires a major rewrite of the usage formatter. |
|
Date |
User |
Action |
Args |
2021-11-02 18:42:58 | paul.j3 | set | recipients:
+ paul.j3, acooke |
2021-11-02 18:42:57 | paul.j3 | set | messageid: <1635878577.79.0.0854696242605.issue45690@roundup.psfhosted.org> |
2021-11-02 18:42:57 | paul.j3 | link | issue45690 messages |
2021-11-02 18:42:57 | paul.j3 | create | |
|