[issue4640] optparse - dosn't distinguish between '--option' and '-option'

STINNER Victor report at bugs.python.org
Sat Jun 26 12:00:43 CEST 2010


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

> Victor, I am interpreting your comment as saying 
> that this is not a bug.

No, I tried to explain that it is a bug :-)

add_option("-debug", "--debug", ...) and add_option("-debug", ...)  should raise an error.

----------

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


More information about the Python-bugs-list mailing list