improved help messages

This commit is contained in:
FezVrasta 2015-06-23 23:26:32 +02:00
parent b94be72858
commit f9c97a2bd2

View File

@ -272,7 +272,20 @@ case "$1" in
status)
printStatus
;;
-h|--help)
echo -e "Usage: arkmanager [OPTION]\n"
echo "Option Description"
echo "start Starts the server"
echo "stop Stops the server"
echo "restart Stops the server and then starts it"
echo "install Install the ARK server files from steamcmd"
echo "update Check for a new ARK server version, if needed, stops the server, updates it, and starts it again"
echo "checkupdate Check for a new ARK server version"
echo "boradcast PLACEHOLDER, not supported yet"
echo "status Returns the status of the current ARK server instance"
;;
*)
echo "use arkmanager <start|stop|restart|install|update|checkupdate|broadcast|status>"
echo "arkmanager: no command specified"
echo "Try 'arkmanager -h' or 'arkmanager --help' for more information."
;;
esac