From ddb01a2496055ca70189c151010ce0cf8b0d57c7 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Jan 10 2014 17:48:53 +0000 Subject: Update --help option default action. - Previously, the --help option executed the tcar_printUsage function as default action. This is the same action triggered by tcar script when is executed without any argument. In order to remove this redundancy, this update changes the --help option default action from tcar_printUsage to tcar_printHelp. --- diff --git a/Scripts/tcar.sh b/Scripts/tcar.sh index 815a79e..9a2f065 100755 --- a/Scripts/tcar.sh +++ b/Scripts/tcar.sh @@ -134,7 +134,7 @@ while true; do --help ) if [[ -z ${TCAR_MODULE_NAME} ]];then - tcar_printUsage + tcar_printHelp else # Store the argument for further processing inside the # module environment that will be executed later.