diff options
author | MaZderMind <github@mazdermind.de> | 2016-01-13 13:13:18 +0100 |
---|---|---|
committer | MaZderMind <github@mazdermind.de> | 2016-01-13 13:13:18 +0100 |
commit | a803d8dab73b88348625ab40695fce78390608b9 (patch) | |
tree | 6d50f8ed7d7ff67a3890021984ff392795d2118d /voctocore | |
parent | 77766845052fb3e88b40717988c77c1964cb4a90 (diff) |
use action='store_true' in argparser
Diffstat (limited to 'voctocore')
-rw-r--r-- | voctocore/lib/args.py | 4 |
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") |