From 24e9d3bbc98232062a4233f7f5de4f00cc256242 Mon Sep 17 00:00:00 2001 From: "Kali Kaneko (leap communications)" Date: Mon, 26 Sep 2016 16:53:42 -0400 Subject: [refactor] call it start/stop --- src/leap/bitmask/cli/bitmask_cli.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/leap/bitmask/cli') 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 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 -- cgit v1.2.3