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