Update cli.py

This commit is contained in:
Akash 2020-07-24 16:10:29 +05:30 committed by GitHub
parent a2812fb56f
commit 18cbd2fd30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)