fix: Too many arguments message does not list all redundant arguments

This commit is contained in:
Serge Guzik 2019-02-28 16:53:50 +02:00
parent b19e527e55
commit aeffdc3eb5

2
warp4j
View File

@ -192,7 +192,7 @@ check_deps
# apart from options only one argument is allowed # apart from options only one argument is allowed
if [[ $# -gt 1 ]]; then if [[ $# -gt 1 ]]; then
fail_with "Too many arguments: $@, expecting only jar name" fail_with "Too many arguments: $*; expecting only jar name"
else else
JAR=$1 JAR=$1
fi fi