diff options
author | Frederick Muriuki Muriithi | 2025-05-12 10:45:56 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2025-05-12 10:45:56 -0500 |
commit | 5cedf63b71cb10d6183919f5a499c8bddb9fa602 (patch) | |
tree | eaf73de95a3858f80b0a4a9acbef63dccc6811f6 /scripts | |
parent | 38732008ae3d6588291166bcfe706df8f00bb921 (diff) | |
download | gn-uploader-5cedf63b71cb10d6183919f5a499c8bddb9fa602.tar.gz |
Allow lowercase versions of the log-level choices.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/cli_parser.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/cli_parser.py b/scripts/cli_parser.py index d42ae66..0c91c5e 100644 --- a/scripts/cli_parser.py +++ b/scripts/cli_parser.py @@ -23,7 +23,8 @@ def init_cli_parser(program: str, description: Optional[str] = None) -> Argument "--loglevel", type=str, default="INFO", - choices=["DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL"], + choices=["DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL", + "debug", "info", "warning", "error", "critical"], help="The severity of events to track with the logger.") return parser |