From 774b89d13102a06412569596c73eaa8b8bfa454d Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Oct 05 2012 22:32:12 +0000 Subject: Update `Functions/Help/help_getOptions.sh' file. --- diff --git a/Scripts/Bash/Functions/Help/help_getOptions.sh b/Scripts/Bash/Functions/Help/help_getOptions.sh index 560d296..959e624 100755 --- a/Scripts/Bash/Functions/Help/help_getOptions.sh +++ b/Scripts/Bash/Functions/Help/help_getOptions.sh @@ -27,10 +27,10 @@ function help_getOptions { # Define short options we want to support. - local ARGSS="" + local ARGSS="v" # Define long options we want to support. - local ARGSL="quiet,answer-yes,read,search:,edit,update-output,update-structure,copy,delete,rename,sync-changes" + local ARGSL="verbose,answer-yes,read,search:,edit,update-output,update-structure,copy,delete,rename,sync-changes" # Redefine ARGUMENTS using getopt(1) command parser. cli_parseArguments @@ -43,8 +43,8 @@ function help_getOptions { while true; do case "$1" in - --quiet ) - FLAG_QUIET="true" + -v | --verbose ) + FLAG_VERBOSE="true" shift 1 ;;