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:])
|
return parser.parse_args(argv[1:])
|
||||||
|
|
||||||
def main(argv=None):
|
def main(argv=None):
|
||||||
if args is None:
|
if argv is None:
|
||||||
args = sys.argv
|
argv = sys.argv
|
||||||
args = parse_args(argv)
|
args = parse_args(argv)
|
||||||
output = args_handler(args)
|
output = args_handler(args)
|
||||||
print(output)
|
print(output)
|
||||||
|
Loading…
Reference in New Issue
Block a user