summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/util/leap_argparse.py
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@gmail.com>2014-01-09 14:24:33 -0300
committerIvan Alejandro <ivanalejandro0@gmail.com>2014-01-09 14:27:53 -0300
commit785380dfa7b3f6205b52be2a90afa9b0afa04c5e (patch)
treeb110ec0606c7e63ea5f6963f25691c5c79ccb803 /src/leap/bitmask/util/leap_argparse.py
parentc9644f1bdbd26e3c54d8849433d8cfb9fc05a3e7 (diff)
Add flag to disable version check.
Diffstat (limited to 'src/leap/bitmask/util/leap_argparse.py')
-rw-r--r--src/leap/bitmask/util/leap_argparse.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/leap/bitmask/util/leap_argparse.py b/src/leap/bitmask/util/leap_argparse.py
index 6703b600..280573f1 100644
--- a/src/leap/bitmask/util/leap_argparse.py
+++ b/src/leap/bitmask/util/leap_argparse.py
@@ -62,6 +62,14 @@ Launches Bitmask""", epilog=epilog)
help='Repair mailboxes for a given account. '
'Use when upgrading versions after a schema '
'change.')
+ parser.add_argument('-N', '--no-app-version-check', default=True,
+ action="store_false", dest="app_version_check",
+ help='Skip the app version compatibility check with '
+ 'the provider.')
+ parser.add_argument('-M', '--no-api-version-check', default=True,
+ action="store_false", dest="api_version_check",
+ help='Skip the api version compatibility check with '
+ 'the provider.')
# Not in use, we might want to reintroduce them.
#parser.add_argument('-i', '--no-provider-checks',