From a2affdcef3bef31b46f85649af16149348a64f23 Mon Sep 17 00:00:00 2001 From: Aidan Harris Date: Sun, 14 Apr 2024 13:15:07 +0000 Subject: [PATCH] re-order verbose and warning options --- gallery_dl/option.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gallery_dl/option.py b/gallery_dl/option.py index 9825cd23..9ede0622 100644 --- a/gallery_dl/option.py +++ b/gallery_dl/option.py @@ -249,18 +249,18 @@ def build_parser(): action="store_const", const=logging.ERROR, help="Activate quiet mode", ) + output.add_argument( + "-w", "--warning", + dest="loglevel", + action="store_const", const=logging.WARNING, + help="Print only warnings and errors", + ) output.add_argument( "-v", "--verbose", dest="loglevel", action="store_const", const=logging.DEBUG, help="Print various debugging information", ) - output.add_argument( - "-w", "--warning", - dest="loglevel", - action="store_const", const=logging.WARNING, - help="Print warnings", - ) output.add_argument( "-g", "--get-urls", dest="list_urls", action="count",