diff --git a/Scripts/Functions/Render/render_getOptions.sh b/Scripts/Functions/Render/render_getOptions.sh index a198f51..2902661 100644 --- a/Scripts/Functions/Render/render_getOptions.sh +++ b/Scripts/Functions/Render/render_getOptions.sh @@ -29,7 +29,7 @@ function render_getOptions { local ARGSS="" # Define long options we want to support. - local ARGSL="filter:,quiet,answer-yes,dont-commit-changes,releasever:,basearch:,convert:,comment:,sharpen:,group-by:,theme-model:" + local ARGSL="filter:,quiet,answer-yes,dont-commit-changes,dont-dirspecific,releasever:,basearch:,post-rendition:,last-rendition:,theme-model:" # Redefine ARGUMENTS variable using getopt output. cli_doParseArguments @@ -63,26 +63,18 @@ function render_getOptions { shift 1 ;; - --releasever ) - FLAG_RELEASEVER="$2" - if [[ ! $FLAG_RELEASEVER =~ $(cli_getPathComponent --release-pattern) ]];then - cli_printMessage "`gettext "The release version provided is not supported."`" --as-error-line - fi - shift 2 - ;; - - --convert ) - FLAG_CONVERT="$2" - shift 2 + --dont-dirspecific ) + FLAG_DONT_DIRSPECIFIC="true" + shift 1 ;; - --comment ) - FLAG_COMMENT="$2" + --post-rendition ) + FLAG_POSTRENDITION="$2" shift 2 ;; - --sharpen ) - FLAG_SHARPEN="$2" + --last-rendition ) + FLAG_LASTRENDITION="$2" shift 2 ;; @@ -94,8 +86,11 @@ function render_getOptions { shift 2 ;; - --group-by ) - FLAG_GROUPED_BY="$2" + --releasever ) + FLAG_RELEASEVER="$2" + if [[ ! $FLAG_RELEASEVER =~ $(cli_getPathComponent --release-pattern) ]];then + cli_printMessage "`gettext "The release version provided is not supported."`" --as-error-line + fi shift 2 ;;