summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/cli/bitmask_cli.py
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2017-02-01 17:29:22 +0100
committerKali Kaneko (leap communications) <kali@leap.se>2017-02-23 00:40:34 +0100
commit9551ff71ce976f04e98f1c19c667bc5f9f402ae9 (patch)
treefe0319627f3394f0d4da5f5a0cbc63b37ee539f4 /src/leap/bitmask/cli/bitmask_cli.py
parentb509a5f353f706fab31189b352d6ffa24bd1c3e5 (diff)
[bug] fix parsing of vpn status
Diffstat (limited to 'src/leap/bitmask/cli/bitmask_cli.py')
-rwxr-xr-xsrc/leap/bitmask/cli/bitmask_cli.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/bitmask/cli/bitmask_cli.py b/src/leap/bitmask/cli/bitmask_cli.py
index 67c6d2c..933b824 100755
--- a/src/leap/bitmask/cli/bitmask_cli.py
+++ b/src/leap/bitmask/cli/bitmask_cli.py
@@ -141,7 +141,7 @@ def execute():
cli = BitmaskCLI(cfg)
cli.data = ['core', 'version']
- args = ['--verbose'] if '--verbose' in sys.argv else None
+ args = None if '--noverbose' in sys.argv else ['--verbose']
yield cli._send(
timeout=0.1, printer=_null_printer,
errb=lambda: cli.start(args))