mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-13 19:28:28 +00:00
Inform the user which command was not recognized
This commit is contained in:
parent
b52770f236
commit
2e65228607
@ -652,7 +652,12 @@ while true; do
|
||||
exit 1
|
||||
;;
|
||||
*)
|
||||
echo "arkmanager v${arkstVersion}: no command specified"
|
||||
echo -n "arkmanager v${arkstVersion}: "
|
||||
if [ $# -eq 0 ]; then
|
||||
echo "no command specified"
|
||||
else
|
||||
echo "unknown command '$1' specified"
|
||||
fi
|
||||
echo "Try 'arkmanager -h' or 'arkmanager --help' for more information."
|
||||
exit 1
|
||||
;;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user