[tor-commits] [sbws/master] Change capitalization of --log-level values
pastly at torproject.org
pastly at torproject.org
Wed Jul 11 15:05:40 UTC 2018
commit 9fea5c1c8d9c6b10aece0157dbac5dacef1665dc
Author: Matt Traudt <sirmatt at ksu.edu>
Date: Mon Jun 25 11:11:02 2018 -0400
Change capitalization of --log-level values
---
sbws/util/parser.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sbws/util/parser.py b/sbws/util/parser.py
index bbc6a18..f2fc828 100644
--- a/sbws/util/parser.py
+++ b/sbws/util/parser.py
@@ -20,7 +20,7 @@ def create_parser():
'--version', action='version', help='sbws version',
version='{}'.format(__version__))
p.add_argument('--log-level',
- choices=['DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL'],
+ choices=['debug', 'info', 'warning', 'error', 'critical'],
help='Override the sbws log level')
p.add_argument('-d', '--directory', default=_default_dot_sbws_dname(),
help='Name of the .sbws directory')
More information about the tor-commits
mailing list