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:
@@ -767,7 +767,7 @@ while true; do
|
||||
;;
|
||||
*)
|
||||
PRINT ""
|
||||
ERROR "Wrong parameter! Usage:"
|
||||
ERROR "Wrong parameter '$1'; Usage:"
|
||||
PRINT ""
|
||||
PRINT "`eval _echo "$COMMON_INFO"`"
|
||||
PRINT ""
|
||||
|
||||
Reference in New Issue
Block a user