From d6169384491bf9c4b944d67fadf802bec861adda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Tue, 24 Dec 2019 11:27:26 +0100 Subject: install_deps.sh: show which parameter is wrong Previously, when an unknown parameter was passed to `install_deps.sh`, the script would just show "Wrong parameter!" without any context. This can make it hard to figure out what's exactly going wrong. Now it prints which parameter it thinks is wrong. --- build_files/build_environment/install_deps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build_files') diff --git a/build_files/build_environment/install_deps.sh b/build_files/build_environment/install_deps.sh index 68eceb21845..b6184ecb33a 100755 --- a/build_files/build_environment/install_deps.sh +++ b/build_files/build_environment/install_deps.sh @@ -767,7 +767,7 @@ while true; do ;; *) PRINT "" - ERROR "Wrong parameter! Usage:" + ERROR "Wrong parameter '$1'; Usage:" PRINT "" PRINT "`eval _echo "$COMMON_INFO"`" PRINT "" -- cgit v1.2.3