From 4a423a835e8441f331ee1f691c97b0c5a28ea7da Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: May 04 2011 15:46:44 +0000 Subject: Update invocation of cli_printMessage function in the `tuneup' functionality files. --- diff --git a/Scripts/Functions/Tuneup/tuneup.sh b/Scripts/Functions/Tuneup/tuneup.sh index d6b1234..02d0845 100755 --- a/Scripts/Functions/Tuneup/tuneup.sh +++ b/Scripts/Functions/Tuneup/tuneup.sh @@ -62,8 +62,7 @@ function tuneup { if [[ $ACTIONNAM =~ "^${FUNCNAM}_[A-Za-z]+$" ]];then eval $ACTIONNAM else - cli_printMessage "`gettext "A valid action is required."`" 'AsErrorLine' - cli_printMessage "${FUNCDIRNAM}" 'AsToKnowMoreLine' + cli_printMessage "`gettext "A valid action is required."`" --as-error-line fi # Commit changes from working copy to central repository only. diff --git a/Scripts/Functions/Tuneup/tuneup_doBaseActions.sh b/Scripts/Functions/Tuneup/tuneup_doBaseActions.sh index 0f27dae..e6d64b4 100755 --- a/Scripts/Functions/Tuneup/tuneup_doBaseActions.sh +++ b/Scripts/Functions/Tuneup/tuneup_doBaseActions.sh @@ -40,14 +40,14 @@ function tuneup_doBaseActions { cli_printActionPreamble "$FILES" '' '' # Print separator line. - cli_printMessage '-' 'AsSeparatorLine' + cli_printMessage '-' --as-separator-line # Process list of files and perform maintainance tasks # accordingly. for FILE in $FILES;do # Print action message. - cli_printMessage $FILE 'AsTuningLine' + cli_printMessage "$FILE" --as-tuningup-line # Define what to do based on file extension. if [[ $FILE =~ '\.svg$' ]];then