[issue14074] argparse allows nargs>1 for positional arguments but doesn't allow metavar to be a tuple
Cyker Way
report at bugs.python.org
Sat Dec 1 08:50:50 EST 2018
Cyker Way <cykerway at gmail.com> added the comment:
Can confirm this bug still exists on master branch, python3.7, python3.6, and very likely other versions since it's reported.
It seems only `_format_action_invocation` and `_get_action_name` need to be fixed. So we can do it more lightweight (<10 lines).
----------
nosy: +cykerway
Added file: https://bugs.python.org/file47965/14074.patch
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue14074>
_______________________________________
More information about the Python-bugs-list
mailing list