diff options
author | Kali Kaneko (leap communications) <kali@leap.se> | 2016-09-26 16:53:42 -0400 |
---|---|---|
committer | Kali Kaneko (leap communications) <kali@leap.se> | 2016-09-26 16:53:42 -0400 |
commit | 24e9d3bbc98232062a4233f7f5de4f00cc256242 (patch) | |
tree | c8108a383e7bba48bb0346a3dc1e2f2c4b60874f /src/leap/bitmask/cli | |
parent | e30e480cc6945cf59aaa4cf762fd9e9bbdc8abe3 (diff) |
[refactor] call it start/stop
Diffstat (limited to 'src/leap/bitmask/cli')
-rwxr-xr-x | src/leap/bitmask/cli/bitmask_cli.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/leap/bitmask/cli/bitmask_cli.py b/src/leap/bitmask/cli/bitmask_cli.py index 3fa134a..091b73f 100755 --- a/src/leap/bitmask/cli/bitmask_cli.py +++ b/src/leap/bitmask/cli/bitmask_cli.py @@ -43,13 +43,13 @@ SERVICE COMMANDS: mail Bitmask Encrypted Mail eip Encrypted Internet Proxy keys Bitmask Keymanager - webui Bitmask Web User Interface + ui Bitmask User Interface GENERAL COMMANDS: version prints version number and exit - launch launch the Bitmask backend daemon - shutdown shutdown Bitmask backend daemon + start starts the Bitmask backend daemon + stop stops the Bitmask backend daemon status displays general status about the running Bitmask services stats show some debug info about bitmask-core help show this help message @@ -57,7 +57,7 @@ GENERAL COMMANDS: ''' epilog = ("Use 'bitmaskctl <command> help' to learn more " "about each command.") - commands = ['shutdown', 'stats'] + commands = ['stop', 'stats'] def user(self, raw_args): user = User() @@ -75,13 +75,13 @@ GENERAL COMMANDS: keys = Keys() return keys.execute(raw_args) - def webui(self, raw_args): + def ui(self, raw_args): webui = WebUI() return webui.execute(raw_args) # Single commands - def launch(self, raw_args): + def start(self, raw_args): # XXX careful! Should see if the process in PID is running, # avoid launching again. import commands |