Message376201
When there are potential conflicts between arguments set by the main parser and those set by a subparser, I often recommend giving the sub ones different "dest" parameters. Then you can reconcile the different values after parsing.
There's nothing wrong with a bit of post-parsing value checking and adjustment. The primary purpose of the parser is to identify what the user wants, and secondarily to give useful help and error messages. |
|
Date |
User |
Action |
Args |
2020-09-01 18:28:29 | paul.j3 | set | recipients:
+ paul.j3, rhettinger, docs@python, lucca.ruhland |
2020-09-01 18:28:29 | paul.j3 | set | messageid: <1598984909.38.0.67102302905.issue41684@roundup.psfhosted.org> |
2020-09-01 18:28:29 | paul.j3 | link | issue41684 messages |
2020-09-01 18:28:29 | paul.j3 | create | |
|