commit 9fea5c1c8d9c6b10aece0157dbac5dacef1665dc Author: Matt Traudt sirmatt@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')
tor-commits@lists.torproject.org