summaryrefslogtreecommitdiffhomepage
path: root/subr
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-05-11 10:45:11 +0100
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-05-11 10:45:11 +0100
commit63eae076050d704eb568cc683523924861037611 (patch)
treeeb9c12c0e4408c53ef0fbfeffd4d3bf255da58cf /subr
parentcb9a055f42c023f527e4f97d1a3ec80a44729cf2 (diff)
downloadmidipix_build-63eae076050d704eb568cc683523924861037611.tar.bz2
midipix_build-63eae076050d704eb568cc683523924861037611.tar.xz
subr/pkgtool_init.subr:pkgtoolp_init_getopts(): clarify invalid command line error message.
Diffstat (limited to 'subr')
-rw-r--r--subr/pkgtool_init.subr2
1 files changed, 1 insertions, 1 deletions
diff --git a/subr/pkgtool_init.subr b/subr/pkgtool_init.subr
index 25e1ff51..10650b41 100644
--- a/subr/pkgtool_init.subr
+++ b/subr/pkgtool_init.subr
@@ -68,7 +68,7 @@ pkgtoolp_init_getopts() {
case "${1}" in
*=*) rtl_set_var_unsafe "${1%%=*}" "${1#*=}"; ;;
*) if [ "${#}" -ne 1 ]; then
- _rc=1; _status="Error: invalid argument \`${1}'.";
+ _rc=1; _status="Error: invalid command line \`${*}'.";
fi; break; ;;
esac; shift;
done;