summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 0717aea5..b7428488 100644
--- a/src/leap/bitmask/util/leap_argparse.py
+++ b/src/leap/bitmask/util/leap_argparse.py
@@ -132,4 +132,9 @@ def get_options():
"""
parser = build_parser()
opts, unknown = parser.parse_known_args()
+
+ # we add this option manually since it's not defined for 'release version'
+ if not IS_RELEASE_VERSION:
+ opts.danger = False
+
return opts