Update cli.py
This commit is contained in:
parent
a2812fb56f
commit
18cbd2fd30
@ -95,8 +95,8 @@ def parse_args(argv):
|
||||
return parser.parse_args(argv[1:])
|
||||
|
||||
def main(argv=None):
|
||||
if args is None:
|
||||
args = sys.argv
|
||||
if argv is None:
|
||||
argv = sys.argv
|
||||
args = parse_args(argv)
|
||||
output = args_handler(args)
|
||||
print(output)
|
||||
|
Loading…
Reference in New Issue
Block a user