diff options
Diffstat (limited to 'walker.py')
-rw-r--r-- | walker.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -10,7 +10,7 @@ from binascii import unhexlify parser = argparse.ArgumentParser()
parser.add_argument('-cid', help='content id, &cid={...}. see url when reading a chapter')
parser.add_argument('-nolog', help='no progressive download logs on terminal', action="store_true")
-args = parser.parse_args(args=None if sys.argv[1:] else ['--help'])
+args = parser.parse_args()
if args.cid == None:
parser.print_help()
|