aboutsummaryrefslogtreecommitdiffstats
path: root/walker.py
diff options
context:
space:
mode:
Diffstat (limited to 'walker.py')
-rw-r--r--walker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/walker.py b/walker.py
index d98be8f..803885e 100644
--- a/walker.py
+++ b/walker.py
@@ -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()