Fix typo in bungeecord arg parser and handle unknown arguments
This commit is contained in:
parent
f28d63d7d8
commit
9b209b7d4f
@ -23,7 +23,7 @@ function main {
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
"benugeecord")
|
||||
"bungeecord")
|
||||
bungeecord=true
|
||||
if $velocity || $standalone; then
|
||||
echo "argument bungeecord can't be used together with velocity or standalone"
|
||||
@ -43,6 +43,10 @@ function main {
|
||||
"--help")
|
||||
help=true
|
||||
;;
|
||||
*)
|
||||
echo "Unknown argument: $arg"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user