add help text

This commit is contained in:
user333 2026-06-08 23:22:26 +00:00
commit bbe642bb8f

View file

@ -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 <service> - Start a service
stop <service> - Stop a service
restart <service> - Restart a service
status <service> - 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 esac