Add --no-debug flag for resetting the verbosity level (#6680)

This commit is contained in:
Jakub Kuczys
2026-03-05 01:04:56 +01:00
committed by GitHub
parent b2007a718d
commit 36a5f752a2

View File

@@ -244,6 +244,14 @@ def parse_cli_flags(args):
dest="logging_level",
help="Increase the verbosity of the logs, each usage of this flag increases the verbosity level by 1.",
)
parser.add_argument(
"--no-verbose",
"--no-debug",
action="store_const",
const=0,
dest="logging_level",
help="Set the verbosity level to 0.",
)
parser.add_argument("--dev", action="store_true", help="Enables developer mode")
parser.add_argument(
"--mentionable",