summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/util/leap_argparse.py
diff options
context:
space:
mode:
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 "