From 36a5f752a239ad6e44a2642fe8e86a8ba31258da Mon Sep 17 00:00:00 2001 From: Jakub Kuczys Date: Thu, 5 Mar 2026 01:04:56 +0100 Subject: [PATCH] Add --no-debug flag for resetting the verbosity level (#6680) --- redbot/core/_cli.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/redbot/core/_cli.py b/redbot/core/_cli.py index 350db0f53..ffbe6482a 100644 --- a/redbot/core/_cli.py +++ b/redbot/core/_cli.py @@ -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",