Stop parsing arguments after --
This commit is contained in:
parent
2036199336
commit
74f75616c1
|
@ -107,7 +107,8 @@ def parse_command_line(args=None):
|
|||
remaining = args[i:]
|
||||
break
|
||||
if args[i] == "--":
|
||||
continue
|
||||
remaining = args[i+1:]
|
||||
break
|
||||
arg = args[i].lstrip("-")
|
||||
name, equals, value = arg.partition("=")
|
||||
name = name.replace('-', '_')
|
||||
|
|
Loading…
Reference in New Issue