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 <rep...@bugs.python.org> <http://bugs.python.org/issue21494> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com