Message385734
Paul,
> The basic logic of argparse is to accept optionals in any order, and positionals in strict positional order. 'nargs' allows us to pair any number of strings with each optional's flag.
I started this issue because that was insufficient for my project.
> I wonder if adding a new nargs, such as '**' would be better than than the new parameter 'greedy_star=True'.
Yeah, I considered that earlier, but I thought that would be too much effort to review all the places where it would have to be treated as equal to '*'. But now I agree with you, I'll try to change that. |
|
Date |
User |
Action |
Args |
2021-01-26 20:24:14 | monkeyman79 | set | recipients:
+ monkeyman79, v+python, r.david.murray, paul.j3 |
2021-01-26 20:24:14 | monkeyman79 | set | messageid: <1611692654.78.0.584013702932.issue42973@roundup.psfhosted.org> |
2021-01-26 20:24:14 | monkeyman79 | link | issue42973 messages |
2021-01-26 20:24:14 | monkeyman79 | create | |
|