fix --debug_logging cli argument

This commit is contained in:
Jack Robison 2019-11-15 10:40:00 -05:00
parent 7ab12ef9a9
commit 5a6be06cb5
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -86,7 +86,7 @@ def main(argv: typing.Optional[typing.List[typing.Optional[str]]] = None,
k, v = arg.split("=") k, v = arg.split("=")
options[k.lstrip('--')] = v options[k.lstrip('--')] = v
else: else:
options[arg.lstrip('--')] = True options[arg.lstrip('--').replace("-", "_")] = True
else: else:
command = arg command = arg
break break