diff --git a/lib/parse/cmdline.py b/lib/parse/cmdline.py index f6d8eb852..2ad597188 100644 --- a/lib/parse/cmdline.py +++ b/lib/parse/cmdline.py @@ -867,6 +867,8 @@ def cmdLineParser(): for i in xrange(len(argv)): if argv[i] == "-hh": argv[i] = "-h" + elif re.search(r"\A-\w=.+", argv[i]): + print "[!] potentially miswritten (illegal '=') short option detected ('%s')" % argv[i] elif argv[i] == "-H": if i + 1 < len(argv): extraHeaders.append(argv[i + 1])