summaryrefslogtreecommitdiff
path: root/src/leap
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap')
-rwxr-xr-xsrc/leap/bitmask/cli/bitmask_cli.py2
-rw-r--r--src/leap/bitmask/core/launcher.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/leap/bitmask/cli/bitmask_cli.py b/src/leap/bitmask/cli/bitmask_cli.py
index 60bf7d9d..e72d1f60 100755
--- a/src/leap/bitmask/cli/bitmask_cli.py
+++ b/src/leap/bitmask/cli/bitmask_cli.py
@@ -93,7 +93,7 @@ GENERAL COMMANDS:
# avoid launching again.
import commands
cmd = 'bitmaskd'
- if raw_args and '--verbose' in raw_args:
+ if raw_args and ('--verbose' in raw_args or '-v' in raw_args):
cmd += ' --verbose'
commands.getoutput(cmd)
command.default_dict_printer({'start': 'ok'})
diff --git a/src/leap/bitmask/core/launcher.py b/src/leap/bitmask/core/launcher.py
index d77f367a..5b76b687 100644
--- a/src/leap/bitmask/core/launcher.py
+++ b/src/leap/bitmask/core/launcher.py
@@ -50,7 +50,7 @@ def run_bitmaskd():
for (index, arg) in enumerate(sys.argv):
if arg == '--backend':
flags.BACKEND = sys.argv[index + 1]
- elif arg == '--verbose':
+ elif arg == '--verbose' or arg == '-v':
flags.VERBOSE = True
args = [
'-y', join(here(core), "bitmaskd.tac"),