This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tellendil
Recipients tellendil
Date 2015-05-11.14:15:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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 : [-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:33tellendilsetrecipients: + tellendil
2015-05-11 14:15:33tellendilsetmessageid: <>
2015-05-11 14:15:33tellendillinkissue24166 messages
2015-05-11 14:15:33tellendilcreate