From bbb90e5e2f9b73d02f41804cfb7332118510a59f Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Mar 23 2011 19:30:17 +0000 Subject: Update help_getArguments.sh: - Make the '--read' option the default action to take when no option is passed to centos-art.sh help functionality. --- diff --git a/Scripts/Functions/Help/help_getArguments.sh b/Scripts/Functions/Help/help_getArguments.sh index 30adbbd..7a8b9c9 100755 --- a/Scripts/Functions/Help/help_getArguments.sh +++ b/Scripts/Functions/Help/help_getArguments.sh @@ -64,11 +64,6 @@ function help_getArguments { shift 1 ;; - --read ) - ACTIONNAM="${FUNCNAM}_searchNode" - shift 1 - ;; - --search ) ACTIONNAM="${FUNCNAM}_searchIndex" shift 1 @@ -84,8 +79,11 @@ function help_getArguments { shift 1 ;; - * ) + --read | * ) + ACTIONNAM="${FUNCNAM}_searchNode" + FLAG_DONT_COMMIT_CHANGES='true' break + ;; esac done