summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/util/leap_argparse.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2013-12-20 13:44:53 -0400
committerKali Kaneko <kali@leap.se>2013-12-20 13:44:53 -0400
commit8ba650488ea1f1a50b4c22758f647c9f2ee7839d (patch)
tree1c5dc409dbcb83b60faf68c8a867ccf97dceabf2 /src/leap/bitmask/util/leap_argparse.py
parent52054730687efbd08efa1d36e30074d789ae2d08 (diff)
mail logs
Diffstat (limited to 'src/leap/bitmask/util/leap_argparse.py')
-rw-r--r--src/leap/bitmask/util/leap_argparse.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/leap/bitmask/util/leap_argparse.py b/src/leap/bitmask/util/leap_argparse.py
index 00192247..6703b600 100644
--- a/src/leap/bitmask/util/leap_argparse.py
+++ b/src/leap/bitmask/util/leap_argparse.py
@@ -41,6 +41,11 @@ Launches Bitmask""", epilog=epilog)
action="store", dest="log_file",
#type=argparse.FileType('w'),
help='optional log file')
+ parser.add_argument('-m', '--mail-logfile',
+ metavar="MAIL LOG FILE", nargs='?',
+ action="store", dest="mail_log_file",
+ #type=argparse.FileType('w'),
+ help='optional log file for email')
parser.add_argument('--openvpn-verbosity', nargs='?',
type=int,
action="store", dest="openvpn_verb",