[issue14074] argparse allows nargs>1 for positional arguments but doesn't allow metavar to be a tuple
paul j3
report at bugs.python.org
Wed Jan 25 00:38:09 EST 2017
paul j3 added the comment:
An alternative fix is to disallow tuple metavars for positionals.
A tuple metavar may look nice in the usage. But a well selected dest seems better in the help line, and error messages. Using dest in all 3 roles, as we do now, is the simplest compromise.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14074>
_______________________________________
More information about the Python-bugs-list
mailing list