Message387481
Well but if that's anyway one of its actual major use cases, wouldn't it make sense to properly support it?
Especially when one has a large set of identical options (which is then even more likely to also include mutually exclusive ones) such a feature seems to be pretty useful to prevent bloated code by copy&pasting large number of lines of identical argument parsing code.
argparse is really nice and powerful,... and enables people to make clean argparsing code, but it seems a few quite features which are quite often asked for miss, like e.g. #11354 or that one can arbitrarily group mutually exclusive options like:
<mutually exclusive>
<group>
--foo
</group>
<group>
--bar
--baz
</group>
<(mutually exclusive>
Anyway, feel free to close if you don't like supporting mutually exclusive groups with parents.
Cheers,
Chris. |
|
Date |
User |
Action |
Args |
2021-02-21 23:52:23 | calestyo | set | recipients:
+ calestyo, rhettinger, paul.j3 |
2021-02-21 23:52:23 | calestyo | set | messageid: <1613951543.56.0.625090894168.issue43259@roundup.psfhosted.org> |
2021-02-21 23:52:23 | calestyo | link | issue43259 messages |
2021-02-21 23:52:23 | calestyo | create | |
|