summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/util/leap_argparse.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2014-01-12 21:28:21 -0400
committerKali Kaneko <kali@leap.se>2014-01-12 21:28:21 -0400
commit36d634ad980bd260a3d93f8005725bc2dc3527f7 (patch)
treed776fbaa4cdd4f888e354bf49b78d80f7ed4a0b1 /src/leap/bitmask/util/leap_argparse.py
parent82586b4717851e882bdd0d378191595bf9ef0535 (diff)
rename repair to plumber to suit more generic functionality
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 fb92f141..dd0f40f7 100644
--- a/src/leap/bitmask/util/leap_argparse.py
+++ b/src/leap/bitmask/util/leap_argparse.py
@@ -75,6 +75,11 @@ Launches the Bitmask client.""", epilog=epilog)
help='Repair mailboxes for a given account. '
'Use when upgrading versions after a schema '
'change.')
+ parser.add_argument('--import-maildir', metavar="/path/to/Maildir",
+ nargs='?',
+ action="store", dest="maildir",
+ help='Import the given maildir. Use with the --mdir '
+ 'flag to import to folders other than INBOX.')
if not IS_RELEASE_VERSION:
help_text = ("Bypasses the certificate check during provider "