[issue4640] optparse doesn’t disallow adding one-dash long options (“-option”)

Steven Bethard report at bugs.python.org
Fri Jul 23 14:25:37 CEST 2010


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

In argparse, "-debug" is a perfectly valid flag (you're not required to have "--debug", and you can even have "+debug" if you want and you specify it correctly), so unless I misunderstand what the bug is, this doesn't apply to argparse.

----------

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


More information about the Python-bugs-list mailing list