Message391321
There are two small related issues, but I'm not sure how they relate and/or if they've been addressed previously, so I'm sorry for duplicate messaging if that's the case.
1. If it's the case that absent an explicit `required=<bool>` statement, the option name prefix (hyphen(s) or not) determines whether the option's required, then it seems contradictory to have nargs='*' make a positional arg behave as if it's optional (i.e., no parse error if omitted).
2. Prefixing the option name with hyphen(s) seems to remove any distinction between `nargs='*'` and `nargs='+'` (at least without passing anything explicit about required) |
|
Date |
User |
Action |
Args |
2021-04-18 04:52:00 | vreuter | set | recipients:
+ vreuter, rhettinger |
2021-04-18 04:52:00 | vreuter | set | messageid: <1618721520.93.0.356050655927.issue43876@roundup.psfhosted.org> |
2021-04-18 04:52:00 | vreuter | link | issue43876 messages |
2021-04-18 04:52:00 | vreuter | create | |
|