aboutsummaryrefslogtreecommitdiff
path: root/voctocore/lib
diff options
context:
space:
mode:
authorMaZderMind <github@mazdermind.de>2016-01-13 13:13:18 +0100
committerMaZderMind <github@mazdermind.de>2016-01-13 13:13:18 +0100
commita803d8dab73b88348625ab40695fce78390608b9 (patch)
tree6d50f8ed7d7ff67a3890021984ff392795d2118d /voctocore/lib
parent77766845052fb3e88b40717988c77c1964cb4a90 (diff)
use action='store_true' in argparser
Diffstat (limited to 'voctocore/lib')
-rw-r--r--voctocore/lib/args.py4
1 files 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")