diff --git a/Scripts/Bash/Functions/Prepare/prepare_getOptions.sh b/Scripts/Bash/Functions/Prepare/prepare_getOptions.sh index 19ecf03..740df09 100755 --- a/Scripts/Bash/Functions/Prepare/prepare_getOptions.sh +++ b/Scripts/Bash/Functions/Prepare/prepare_getOptions.sh @@ -28,10 +28,10 @@ function prepare_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,packages,locales,links,images,manuals,set-environment,see-environment,sync-changes" + local ARGSL="quiet,help,answer-yes,packages,locales,links,images,manuals,set-environment,see-environment,sync-changes" # Redefine ARGUMENTS using getopt(1) command parser. cli_parseArguments @@ -44,6 +44,12 @@ function prepare_getOptions { while true; do case "$1" in + -h | --help ) + ${CLI_NAME} help --read trunk/Scripts/Bash/Functions/Prepare + shift 1 + exit + ;; + -q | --quiet ) FLAG_QUIET="true" shift 1