From 5e86204592c1c4f31c7b367e914a069c7239a120 Mon Sep 17 00:00:00 2001 From: Robert Stoll Date: Fri, 19 Aug 2022 17:32:47 +0200 Subject: [PATCH] fix show script name in error message --- src/utility/parse-commands.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utility/parse-commands.sh b/src/utility/parse-commands.sh index 437b33d6..fca0a678 100644 --- a/src/utility/parse-commands.sh +++ b/src/utility/parse-commands.sh @@ -114,7 +114,7 @@ function parseCommands { shift 4 || die "could not shift by 4" if (($# < 5 )); then - logError "no command passed to %s, following the output of --help" + logError "no command passed to %s, following the output of --help" "$(basename "${BASH_SOURCE[2]}")" echo "" parse_commands_printHelp parseCommands_paramArr "$version" fi