summaryrefslogtreecommitdiff
path: root/voctocore/lib/args.py
diff options
context:
space:
mode:
authorBjoern Riemer <bjoern.riemer@tu-berlin.de>2016-01-13 12:22:47 +0100
committerBjoern Riemer <bjoern.riemer@tu-berlin.de>2016-01-13 12:22:47 +0100
commit10099632b09e62487a6951bae46264f31684528f (patch)
tree60ae275178edb2c683c630f5b76e266d8126237e /voctocore/lib/args.py
parent1c884e5c2d201fd5f6cdb3b9f1917d9e5eee0bcf (diff)
add --timestamp & -t args to argparser
Diffstat (limited to 'voctocore/lib/args.py')
-rw-r--r--voctocore/lib/args.py3
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")