From ef2f761fe015b7748b251ed7c93957ae384dd4ec Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: May 04 2011 15:36:35 +0000 Subject: Update invocation of cli_printMessage function in cli_checkPathComponent.sh. --- diff --git a/Scripts/Functions/cli_checkPathComponent.sh b/Scripts/Functions/cli_checkPathComponent.sh index c337c60..e1194a7 100755 --- a/Scripts/Functions/cli_checkPathComponent.sh +++ b/Scripts/Functions/cli_checkPathComponent.sh @@ -44,8 +44,7 @@ function cli_checkPathComponent { LOCATION="$1" OPTION="$2" else - cli_printMessage "${FUNCNAME}: `gettext "Invalid arguments."`" 'AsErrorLine' - cli_printMessage "${FUNCDIRNAM}" 'AsToKnowMoreLine' + cli_printMessage "`gettext "Invalid arguments."`" --as-error-line fi # Define patterns. @@ -85,8 +84,7 @@ function cli_checkPathComponent { # Output message. if [[ $MESSAGE != '' ]];then - cli_printMessage "$MESSAGE" 'AsErrorLine' - cli_printMessage "${FUNCDIRNAM}" "AsToKnowMoreLine" + cli_printMessage "$MESSAGE" --as-error-line fi }