From 7996dd062dd2f66cf242f585bc0a89fdb17ed23a Mon Sep 17 00:00:00 2001 From: Djeeberjr Date: Sun, 25 Jun 2023 19:02:45 +0200 Subject: [PATCH] changed synaopsis to srv --- src/bin/Service.hx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/bin/Service.hx b/src/bin/Service.hx index 2019c74..f7dc628 100644 --- a/src/bin/Service.hx +++ b/src/bin/Service.hx @@ -16,7 +16,7 @@ class Service extends CLIAppBase { var result = ServiceManager.instance.start(name); return handleResult(result); - },"Start a service"); + },""); registerSyncSubcommand("stop", (args) ->{ if (args.length < 1) { @@ -27,7 +27,7 @@ class Service extends CLIAppBase { var result = ServiceManager.instance.stop(name); return handleResult(result); - },"Stop a service"); + },""); registerSyncSubcommand("register", (args) ->{ if (args.length < 2) { @@ -40,7 +40,7 @@ class Service extends CLIAppBase { var result = ServiceManager.instance.register(name, binName, rest); return handleResult(result); - },"Register a new service"); + }," "); registerSyncSubcommand("unregister", (args) ->{ if (args.length < 2) { @@ -51,7 +51,7 @@ class Service extends CLIAppBase { var result = ServiceManager.instance.unregister(name); return handleResult(result); - },"Unregister a service"); + },""); registerSyncSubcommand("list", (args) ->{ @@ -62,7 +62,7 @@ class Service extends CLIAppBase { } return true; - },"List all services"); + }); registerSyncSubcommand("enable", (args) ->{ if (args.length < 1) { @@ -71,7 +71,7 @@ class Service extends CLIAppBase { ServiceManager.instance.enable(args[0]); return true; - },"Enable a service"); + },""); } private function handleResult(res: Outcome): Bool {