summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/cli/vpn.py
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2017-03-17 00:34:12 +0100
committerRuben Pollan <meskio@sindominio.net>2017-03-17 00:42:13 +0100
commit09bf881b4f457f731c5a49e88822bc731eda2c96 (patch)
tree1c164fd3381cfe68d05a5f09f7f52f3756615b5a /src/leap/bitmask/cli/vpn.py
parent4fe2ad820ab46f522682bcaece55a400c7038378 (diff)
[feat] report the real status of the VPN
Diffstat (limited to 'src/leap/bitmask/cli/vpn.py')
-rw-r--r--src/leap/bitmask/cli/vpn.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/leap/bitmask/cli/vpn.py b/src/leap/bitmask/cli/vpn.py
index 69825159..e413e89d 100644
--- a/src/leap/bitmask/cli/vpn.py
+++ b/src/leap/bitmask/cli/vpn.py
@@ -43,7 +43,7 @@ SUBCOMMANDS:
'''.format(name=command.appname)
- commands = ['stop', 'status', 'install', 'uninstall',
+ commands = ['stop', 'install', 'uninstall',
'enable', 'disable']
def start(self, raw_args):
@@ -68,6 +68,10 @@ SUBCOMMANDS:
return self._send(command.default_dict_printer)
+ def status(self, raw_args):
+ self.data += ['status']
+ return self._send(command.print_status)
+
def check(self, raw_args):
parser = argparse.ArgumentParser(
description='Bitmask VPN check',