diff --git a/Scripts/Bash/Functions/Locale/locale_getOptions.sh b/Scripts/Bash/Functions/Locale/locale_getOptions.sh index f5a2479..09c2f9e 100755 --- a/Scripts/Bash/Functions/Locale/locale_getOptions.sh +++ b/Scripts/Bash/Functions/Locale/locale_getOptions.sh @@ -30,7 +30,7 @@ function locale_getOptions { local ARGSS="" # Define long options we want to support. - local ARGSL="filter:,quiet,answer-yes,update,edit,delete,dont-create-mo,is-localizable" + local ARGSL="filter:,quiet,answer-yes,update,edit,delete,dont-create-mo,is-localizable,get-locales" # Parse arguments using getopt(1) command parser. cli_parseArguments @@ -78,6 +78,11 @@ function locale_getOptions { shift 1 ;; + --get-locales ) + ACTIONNAMS="$ACTIONNAMS locale_getLocales" + shift 1 + ;; + --dont-create-mo ) FLAG_DONT_CREATE_MO="true" shift 1