From 78429423d9148136cf3a048228c0e87d0f4e2b84 Mon Sep 17 00:00:00 2001 From: RicterZ Date: Fri, 26 Jun 2020 13:29:44 +0800 Subject: [PATCH] fix bug --- nhentai/cmdline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nhentai/cmdline.py b/nhentai/cmdline.py index 093cc24..762a66d 100644 --- a/nhentai/cmdline.py +++ b/nhentai/cmdline.py @@ -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'])