Skip to content
This repository was archived by the owner on Jun 19, 2023. It is now read-only.
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions gitflow-shFlags
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@ _flags_define()
# if/then/else contains just a ':' which does nothing. a binary reversal via
# '!' is not done because it does not work on all shells.
if [ ${_flags_return_} -eq ${FLAGS_TRUE} ]; then
_flags_isNegate_=${FLAGS_FALSE}
case ${_flags_type_} in
${__FLAGS_TYPE_BOOLEAN})
if _flags_validBool "${_flags_default_}"; then
Expand Down Expand Up @@ -381,7 +382,7 @@ _flags_define()

flags_return=${_flags_return_}
unset _flags_default_ _flags_help_ _flags_name_ _flags_return_ \
_flags_short_ _flags_type_ _flags_usName_
_flags_short_ _flags_type_ _flags_usName_ _flags_isNegate_
[ ${flags_return} -eq ${FLAGS_ERROR} ] && _flags_error "${flags_error}"
return ${flags_return}
}
Expand Down Expand Up @@ -914,7 +915,8 @@ _flags_parseGetopt()
done

unset _flags_arg_ _flags_len_ _flags_name_ _flags_opt_ _flags_pos_ \
_flags_strToEval_ _flags_type_ _flags_usName_ _flags_val_
_flags_strToEval_ _flags_type_ _flags_usName_ _flags_val_ \
_flags_argc_
return ${flags_return}
}

Expand Down