diff --git a/Scripts/Bash/Functions/Help/help_getOptions.sh b/Scripts/Bash/Functions/Help/help_getOptions.sh index ab26ed2..2fdd6ed 100755 --- a/Scripts/Bash/Functions/Help/help_getOptions.sh +++ b/Scripts/Bash/Functions/Help/help_getOptions.sh @@ -30,9 +30,9 @@ function help_getOptions { local ARGSS="" # Define long options we want to support. - local ARGSL="quiet,answer-yes,read,search:,edit,update-output,update-structure,copy,delete,rename" + local ARGSL="quiet,answer-yes,read,search:,edit,update-output,update-structure,copy,delete,rename,commit-changes" - # Parse arguments using getopt(1) command parser. + # Redefine ARGUMENTS using getopt(1) command parser. cli_parseArguments # Reset positional parameters using output from (getopt) argument @@ -94,6 +94,11 @@ function help_getOptions { shift 1 ;; + --commit-changes ) + FLAG_COMMIT_CHANGES="true" + shift 1 + ;; + -- ) # Remove the `--' argument from the list of arguments # in order for processing non-option arguments