Skip to content

Commit

Permalink
zwe parms processing update
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Zeithaml <[email protected]>
  • Loading branch information
Martin-Zeithaml committed Nov 6, 2023
1 parent 9ccaba7 commit be11ee2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/zwe
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ while [ $# -gt 0 ]; do
zwecli_set_parameter_value "${param_id}" "true"
elif [ "${param_type}" = "s" -o "${param_type}" = "str" -o "${param_type}" = "string" ]; then
shift
if [ -z "${1}" ]; then
print_error_and_exit "Error ZWEL0106E: Value for '${arg}' parameter is required." "" 106
fi
ZWE_CLI_PARAMETERS_LIST="$(trim "${ZWE_CLI_PARAMETERS_LIST} ${param_id}")"
zwecli_set_parameter_value "${param_id}" "${1}"
else
Expand Down

0 comments on commit be11ee2

Please sign in to comment.