Message242895
When creating a ArgumentParser on which we attach a subparser with different options and then add a nargs="+" argument to the initial parser, the command format string generated does not match the behavior.
for example it would generate :
argparse_error.py [-h] {ls,du} ... vm [vm ...]
but only accept one vm.
I would suspect a bug when parsing the arguments (as the help meets the desired behavior).
Attached is a little script to reproduce the error.
Thank you ! |
|
Date |
User |
Action |
Args |
2015-05-11 14:15:33 | tellendil | set | recipients:
+ tellendil |
2015-05-11 14:15:33 | tellendil | set | messageid: <1431353733.91.0.614025540349.issue24166@psf.upfronthosting.co.za> |
2015-05-11 14:15:33 | tellendil | link | issue24166 messages |
2015-05-11 14:15:33 | tellendil | create | |
|