[New-bugs-announce] [issue21494] getopt error doesnot display correct error

Priya pawar report at bugs.python.org
Tue May 13 14:41:29 CEST 2014


New submission from Priya pawar:

i created command from getopt but it gives error if i give single hyphan in long option
it should check long option not in small option. 

eg.  hello -foo
 -o option is not recognized

hello --foo is working fine.

----------
messages: 218447
nosy: priya
priority: normal
severity: normal
status: open
title: getopt error doesnot display correct error
type: enhancement
versions: Python 2.7

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


More information about the New-bugs-announce mailing list