From bbe642bb8ffb50e866f35a551d29a192929e02c6 Mon Sep 17 00:00:00 2001 From: user333 Date: Mon, 8 Jun 2026 23:22:26 +0000 Subject: [PATCH] add help text --- servicectl | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/servicectl b/servicectl index f15f6b2..0699504 100644 --- a/servicectl +++ b/servicectl @@ -220,6 +220,20 @@ case "$1" in ;; *) - exit_code "1" "" "Expected one of (start|stop|restart|status|statusall|startall|stopall|restartall|listall|listactive|listinactive)" + exit_code "1" "" "Usage: +$0 (start|stop|restart|status|statusall|startall|stopall|restartall|listall|listactive|listinactive) [service] + +Options: + start - Start a service + stop - Stop a service + restart - Restart a service + status - Get the status of a service + statusall - Get the status of all services + startall - Start all services + stopall - Stop all services + restartall - Restart all services + listall - List all services + listactive - List all active services + listinactive - List all inactive services" ;; esac