re-order verbose and warning options

pull/5474/head
Aidan Harris 5 months ago
parent a3f580254a
commit a2affdcef3
No known key found for this signature in database
GPG Key ID: E18BE27807DA2E96

@ -250,16 +250,16 @@ def build_parser():
help="Activate quiet mode",
)
output.add_argument(
"-v", "--verbose",
"-w", "--warning",
dest="loglevel",
action="store_const", const=logging.DEBUG,
help="Print various debugging information",
action="store_const", const=logging.WARNING,
help="Print only warnings and errors",
)
output.add_argument(
"-w", "--warning",
"-v", "--verbose",
dest="loglevel",
action="store_const", const=logging.WARNING,
help="Print warnings",
action="store_const", const=logging.DEBUG,
help="Print various debugging information",
)
output.add_argument(
"-g", "--get-urls",

Loading…
Cancel
Save