diff --git a/parser.sh b/parser.sh index 00dd1f9..5c41f74 100755 --- a/parser.sh +++ b/parser.sh @@ -18,7 +18,10 @@ _mapped_options_count=0 _positional_args_count=0 _err() { - echo "$1" + for arg in "$@"; do + echo "$arg" + done + exit 1 }