summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/util/leap_argparse.py
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2013-12-18 13:56:10 -0300
committerTomás Touceda <chiiph@leap.se>2013-12-18 13:56:10 -0300
commit80e66a80a2dcb06e837a8c83f21de74d2b6aa324 (patch)
treea6c10610f4863222529fb4f0c0e820079af14eaa /src/leap/bitmask/util/leap_argparse.py
parent6b7a1fc2d567a0adb05e1976f809ff78f550f98e (diff)
parenta8fc15ee9fdd92189f53bf7ee700ee4db5beb30e (diff)
Merge remote-tracking branch 'refs/remotes/kali/feature/repair-mailbox' into develop
Diffstat (limited to 'src/leap/bitmask/util/leap_argparse.py')
-rw-r--r--src/leap/bitmask/util/leap_argparse.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/leap/bitmask/util/leap_argparse.py b/src/leap/bitmask/util/leap_argparse.py
index e8a9fda9..00192247 100644
--- a/src/leap/bitmask/util/leap_argparse.py
+++ b/src/leap/bitmask/util/leap_argparse.py
@@ -51,6 +51,12 @@ Launches Bitmask""", epilog=epilog)
'searching')
parser.add_argument('-V', '--version', action="store_true",
help='Displays Bitmask version and exits')
+ parser.add_argument('-r', '--repair-mailboxes', metavar="user@provider",
+ nargs='?',
+ action="store", dest="acct_to_repair",
+ help='Repair mailboxes for a given account. '
+ 'Use when upgrading versions after a schema '
+ 'change.')
# Not in use, we might want to reintroduce them.
#parser.add_argument('-i', '--no-provider-checks',