]> git.lizzy.rs Git - nhentai.git/commitdiff
fix bug
authorRicterZ <ricterzheng@gmail.com>
Fri, 26 Jun 2020 05:29:44 +0000 (13:29 +0800)
committerRicterZ <ricterzheng@gmail.com>
Fri, 26 Jun 2020 05:29:44 +0000 (13:29 +0800)
nhentai/cmdline.py

index 093cc24fdb10dbcfa7ee662b02e3ae25a6ac8896..762a66d9f480aebc14839ece328b249a4eb75574 100644 (file)
@@ -58,7 +58,7 @@ def cmd_parser():
                       help='page number of search results')
     parser.add_option('--page-range', type='string', dest='page_range', action='store',
                       help='page range of favorites.  e.g. 1,2-5,14')
-    parser.add_option('--sorting', dest='sorting', action='store', default='date',
+    parser.add_option('--sorting', dest='sorting', action='store', default='recent',
                       help='sorting of doujinshi (recent / popular / popular-[today|week])',
                       choices=['recent', 'popular', 'popular-today', 'popular-week'])