diff --git a/Scripts/Bash/Cli/Functions/cli_getPathComponent.sh b/Scripts/Bash/Cli/Functions/cli_getPathComponent.sh index abee102..e71a058 100755 --- a/Scripts/Bash/Cli/Functions/cli_getPathComponent.sh +++ b/Scripts/Bash/Cli/Functions/cli_getPathComponent.sh @@ -44,7 +44,7 @@ function cli_getPathComponent { LOCATION="$1" OPTION="$2" else - cli_printMessage "cli_getPathComponent: `gettext "Invalid arguments."`" 'AsErrorLine' + cli_printMessage "${FUNCNAM}: `gettext "Invalid arguments."`" 'AsErrorLine' cli_printMessage "$(caller)" 'AsToKnowMoreLine' fi