Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 383316f commit f609158Copy full SHA for f609158
1 file changed
lib/parse/cmdline.py
@@ -867,6 +867,8 @@ def _(self, *args):
867
for i in xrange(len(argv)):
868
if argv[i] == "-hh":
869
argv[i] = "-h"
870
+ elif re.search(r"\A-\w=.+", argv[i]):
871
+ print "[!] potentially miswritten (illegal '=') short option detected ('%s')" % argv[i]
872
elif argv[i] == "-H":
873
if i + 1 < len(argv):
874
extraHeaders.append(argv[i + 1])
0 commit comments