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

STINNER Victor report at bugs.python.org
Sat Dec 27 00:53:52 CET 2008


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

-debug may be equivalent to -d -e -b -u -g (if none of these options 
have an argument), but no to --debug. If you like to use -d as an 
alias to --debug, just use: add_option("-d", "--debug", ...).

----------
nosy: +haypo

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


More information about the Python-bugs-list mailing list