From e717deaa1d7de80c08940334dcb2e50a58965e86 Mon Sep 17 00:00:00 2001 From: Howard Wu <40033067+Howard20181@users.noreply.github.com> Date: Thu, 1 Sep 2022 10:55:19 +0800 Subject: [PATCH] Show help info if input error --- scripts/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build.sh b/scripts/build.sh index dec65fb..cad015b 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -141,7 +141,7 @@ opts=$(getopt \ --name "$(basename "$0")" \ --options "" \ -- "$@" -) || abort +) || exit_with_message "Failed to parse options, please check your input" eval set --"$opts" while [[ $# -gt 0 ]]; do