Skip to content

Commit a5b8291

Browse files
committed
Nova função 'input' para entrada de dados.
1 parent 3d3ec97 commit a5b8291

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/builtin.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ function input()
205205
getopt.parse 3 "type:flag:+:$1" "prompt:str:-:$2" "varname:var:+:$3" "${@:4}"
206206

207207
if ! [[ ${__FLAG_TYPE[$1]} ]]; then
208-
error.trace def 'type' 'str' "$1" "o identificador do tipo é inválido"
208+
error.trace def 'type' 'flag' "$1" "o identificador do tipo é inválido"
209209
return $?
210210
fi
211211

0 commit comments

Comments
 (0)