diff options
author | Bjoern Riemer <bjoern.riemer@tu-berlin.de> | 2016-01-13 12:22:47 +0100 |
---|---|---|
committer | Bjoern Riemer <bjoern.riemer@tu-berlin.de> | 2016-01-13 12:22:47 +0100 |
commit | 10099632b09e62487a6951bae46264f31684528f (patch) | |
tree | 60ae275178edb2c683c630f5b76e266d8126237e /voctocore/lib | |
parent | 1c884e5c2d201fd5f6cdb3b9f1917d9e5eee0bcf (diff) |
add --timestamp & -t args to argparser
Diffstat (limited to 'voctocore/lib')
-rw-r--r-- | voctocore/lib/args.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/voctocore/lib/args.py b/voctocore/lib/args.py index 953f9ab..2cef7f3 100644 --- a/voctocore/lib/args.py +++ b/voctocore/lib/args.py @@ -10,6 +10,9 @@ 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('-i', '--ini-file', action='store', help="Load a custom config.ini-File") |