[issue9182] document “--” as a way to distinguish option w/ narg='+' from positional argument in argparse

Steven Bethard report at bugs.python.org
Fri Nov 19 16:20:43 CET 2010


Steven Bethard <steven.bethard at gmail.com> added the comment:

The original point is basically a duplicate of issue 9338. It is undesirable behavior, I just don't know how to fix it. Patches to fix it are welcome (on issue 9338). ;-)

As to documenting '--', I agree it's hidden too far down in the documentation currently. I'd be happy to approve any documentation patch that makes the '--' workaround more visible.

----------
versions:  -Python 3.1

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9182>
_______________________________________


More information about the Python-bugs-list mailing list