diff options
author | Kali Kaneko <kali@leap.se> | 2013-09-12 15:07:24 +0200 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2013-09-12 16:59:05 +0200 |
commit | 061c2aae0821f1e37b1de5b0347077ecfb276b65 (patch) | |
tree | 07dd448a2dbe55738d58919cdead8408b0b850e7 /src/leap/bitmask/util/leap_argparse.py | |
parent | f4ca53c9c8ce3a0d3dac34c956be6899695498d0 (diff) |
add --version flag
Diffstat (limited to 'src/leap/bitmask/util/leap_argparse.py')
-rw-r--r-- | src/leap/bitmask/util/leap_argparse.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/leap/bitmask/util/leap_argparse.py b/src/leap/bitmask/util/leap_argparse.py index bc21a9cf..afe5be48 100644 --- a/src/leap/bitmask/util/leap_argparse.py +++ b/src/leap/bitmask/util/leap_argparse.py @@ -27,7 +27,7 @@ def build_parser(): All the options for the leap arg parser Some of these could be switched on only if debug flag is present! """ - epilog = "Copyright 2012 The LEAP Encryption Access Project" + epilog = "Copyright 2012-2013 The LEAP Encryption Access Project" parser = argparse.ArgumentParser(description=""" Launches Bitmask""", epilog=epilog) parser.add_argument('-d', '--debug', action="store_true", @@ -50,6 +50,8 @@ Launches Bitmask""", epilog=epilog) help='Makes Bitmask use standalone' 'directories for configuration and binary' 'searching') + parser.add_argument('-V', '--version', action="store_true", + help='Displays Bitmask version and exits') # Not in use, we might want to reintroduce them. #parser.add_argument('-i', '--no-provider-checks', |