diff --git a/Scripts/Bash/Functions/Help/help_getOptions.sh b/Scripts/Bash/Functions/Help/help_getOptions.sh index 285f35c..af5cb1d 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="q" + local ARGSS="q,h" # 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="quiet,help,answer-yes,read,search:,edit,update-output,update-structure,copy,delete,rename,sync-changes" # Redefine ARGUMENTS using getopt(1) command parser. cli_parseArguments @@ -43,6 +43,12 @@ function help_getOptions { while true; do case "$1" in + -h | --help ) + ${CLI_NAME} help --read trunk/Scripts/Bash/Functions/Help + shift 1 + exit + ;; + -q | --quiet ) FLAG_QUIET="true" shift 1