[issue4640] optparse doesn't distinguish between '--option' and '-option'
report at bugs.python.org
Sat Jun 26 12:09:54 CEST 2010
Éric Araujo <merwok at netwok.org> added the comment:
Oh, we all focused on “-debug is not recognized as --debug” and forgot that the bug report also said “optparse does not complain when -debug is specified” (not sure if that meant “added” or “given on the command line”). We have to check if the bug still applies on 2.6, 2.7, 3.1 and 3.2.
stage: committed/rejected -> unit test needed
title: optparse - dosn't distinguish between '--option' and '-option' -> optparse doesn't distinguish between '--option' and '-option'
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list