From 9b209b7d4f6c4a02e712a6757a29f7d5a9c48a8e Mon Sep 17 00:00:00 2001 From: Leonard Steppy Date: Mon, 22 Dec 2025 20:57:41 +0100 Subject: [PATCH] Fix typo in bungeecord arg parser and handle unknown arguments --- configure.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure.sh b/configure.sh index 31fabc9..a237294 100755 --- a/configure.sh +++ b/configure.sh @@ -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