fix: Too many arguments message does not list all redundant arguments
This commit is contained in:
parent
b19e527e55
commit
aeffdc3eb5
2
warp4j
2
warp4j
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user