[New-bugs-announce] [issue16306] Multiple error line for unknown command line parameter

Thiébaud Weksteen report at bugs.python.org
Wed Oct 24 01:47:11 CEST 2012


New submission from Thiébaud Weksteen:

Hi,

I've just came across an insignificant bug in the Python command line 
interface. When using an unknown parameter, the same error appears 
more than once:

$ python3 -a -z
Unknown option: -a
Unknown option: -z
Unknown option: -a
usage: python3 [option] ... [-c cmd | -m mod | file | -] [arg] ...
Try `python -h' for more information.
$ python -a -z
Unknown option: -a
Unknown option: -z
Unknown option: -a
usage: python [option] ... [-c cmd | -m mod | file | -] [arg] ...
Try `python -h' for more information.

----------
components: None
messages: 173649
nosy: tweksteen
priority: normal
severity: normal
status: open
title: Multiple error line for unknown command line parameter
type: behavior
versions: Python 2.7, Python 3.2

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


More information about the New-bugs-announce mailing list