[issue16306] Multiple error line for unknown command line parameter

Ezio Melotti report at bugs.python.org
Fri Nov 23 16:02:54 CET 2012


Ezio Melotti added the comment:

The new patch doesn't seem to be correct:
without the patch:
$ ./python -a -z
Unknown option: -a
Unknown option: -z
usage: ./python [option] ... [-c cmd | -m mod | file | -] [arg] ...

with the patch:
$ ./python -a -z
Unknown option: -a
usage: ./python [option] ... [-c cmd | -m mod | file | -] [arg] ...

A test case for this should also be added.

----------

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


More information about the Python-bugs-list mailing list