[issue21494] getopt error doesnot display correct error

2014-05-13 Thread Eric V. Smith
Changes by Eric V. Smith : -- resolution: -> not a bug stage: -> resolved status: open -> closed type: enhancement -> behavior ___ Python tracker ___ __

[issue21494] getopt error doesnot display correct error

2014-05-13 Thread Eric V. Smith
Eric V. Smith added the comment: That's working as designed. It allows you to say "-fo" if both 'f' and 'o' are short options. -- nosy: +eric.smith ___ Python tracker ___ __

[issue21494] getopt error doesnot display correct error

2014-05-13 Thread Priya pawar
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