[issue9444] argparse does not honor prefix_chars when adding default options

Doug Hellmann report at bugs.python.org
Sun Aug 1 13:55:36 CEST 2010


Doug Hellmann <doug.hellmann at gmail.com> added the comment:

I haven't read the existing tests, but I am not seeing the behavior described by Ted in msg112258.  If I specify the prefix_chars as '+/' and define a long option '//myopt' then using ++myopt on the command line gives an error that the option is unrecognized.  I don't know if that's a bug or the desired behavior.

----------

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


More information about the Python-bugs-list mailing list