Add --logfile argument

This commit is contained in:
Matthias
2019-03-29 20:12:44 +01:00
parent ba558b2d75
commit bb5a310aec
2 changed files with 23 additions and 1 deletions

View File

@@ -71,6 +71,13 @@ class Arguments(object):
dest='loglevel',
default=0,
)
self.parser.add_argument(
'--logfile',
help='Log to the file specified',
dest='logfile',
type=str,
metavar='FILE'
)
self.parser.add_argument(
'--version',
action='version',