From c594b0f3ef841926a1150d5a772952d306e54549 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Oct 09 2012 03:31:56 +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 af5cb1d..6539c02 100755 --- a/Scripts/Bash/Functions/Help/help_getOptions.sh +++ b/Scripts/Bash/Functions/Help/help_getOptions.sh @@ -30,7 +30,7 @@ function help_getOptions { local ARGSS="q,h" # Define long options we want to support. - local ARGSL="quiet,help,answer-yes,read,search:,edit,update-output,update-structure,copy,delete,rename,sync-changes" + local ARGSL="quiet,help,answer-yes,read,search:,format:,edit,update-output,update-structure,copy,delete,rename,sync-changes" # Redefine ARGUMENTS using getopt(1) command parser. cli_parseArguments @@ -64,6 +64,11 @@ function help_getOptions { FLAG_SEARCH="$2" shift 2 ;; + + --format ) + FLAG_FORMAT=$(cli_getRepoName "$2" -f) + shift 2 + ;; --edit ) ACTIONNAM="editEntry"