From a803d8dab73b88348625ab40695fce78390608b9 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Wed, 13 Jan 2016 13:13:18 +0100 Subject: use action='store_true' in argparser --- voctocore/lib/args.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/voctocore/lib/args.py b/voctocore/lib/args.py index 2cef7f3..90122ea 100644 --- a/voctocore/lib/args.py +++ b/voctocore/lib/args.py @@ -10,8 +10,8 @@ parser.add_argument('-v', '--verbose', action='count', default=0, parser.add_argument('-c', '--color', action='store', choices=['auto', 'always', 'never'], default='auto', help="Control the use of colors in the Log-Output") -parser.add_argument('-t', '--timestamp', action='count' , default=0, - help="Control the use of timestamps in the Log-Output") +parser.add_argument('-t', '--timestamp', action='store_true', + help="Enable timestamps in the Log-Output") parser.add_argument('-i', '--ini-file', action='store', help="Load a custom config.ini-File") -- cgit v1.2.3