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.
This commit is contained in:
Sybren A. Stüvel
2019-12-24 11:27:26 +01:00
parent 3e1dc56365
commit d616938449

View File

@@ -767,7 +767,7 @@ while true; do
;;
*)
PRINT ""
ERROR "Wrong parameter! Usage:"
ERROR "Wrong parameter '$1'; Usage:"
PRINT ""
PRINT "`eval _echo "$COMMON_INFO"`"
PRINT ""