[issue11708] argparse: suggestion for formatting optional positional args
Steven Bethard
report at bugs.python.org
Thu Dec 15 13:23:02 CET 2011
Steven Bethard <steven.bethard at gmail.com> added the comment:
I agree that this is a bug in current argparse formatting.
It might be a little difficult to fix though because the current option formatting handles arguments one at a time, and producing something like [arg1 [arg2]] requires some understanding of how arguments interact, which the formatter currently doesn't have.
But patches are certainly welcome.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11708>
_______________________________________
More information about the Python-bugs-list
mailing list