From 07b61d86ce0dc9474ce236887db00e802a71341c Mon Sep 17 00:00:00 2001 From: Thor77 Date: Wed, 10 Aug 2016 22:44:48 +0200 Subject: [PATCH] Add -t/--template cli-arg --- tsstats/__main__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tsstats/__main__.py b/tsstats/__main__.py index 799f112..a7ddedb 100644 --- a/tsstats/__main__.py +++ b/tsstats/__main__.py @@ -42,6 +42,10 @@ def cli(): help='don\'t add connect until now to onlinetime', action='store_false', dest='onlinedc' ) + parser.add_argument( + '-t', '--template', + type=str, help='path to custom template' + ) options = parser.parse_args() if 'config' in options: configuration = config.load(options.config)