1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-19 21:44:11 +01:00

18237: complete -t option to read

This commit is contained in:
Oliver Kiddle 2003-02-13 15:04:14 +00:00
parent 6d2921542e
commit dc91d837e8
2 changed files with 5 additions and 2 deletions

@ -1,5 +1,7 @@
2003-02-13 Oliver Kiddle <opk@zsh.org> 2003-02-13 Oliver Kiddle <opk@zsh.org>
* 18237: Completion/Zsh/Command/_read: complete -t option
* 18223: Src/builtin.c, Doc/Zsh/builtins.yo: satisfy POSIX * 18223: Src/builtin.c, Doc/Zsh/builtins.yo: satisfy POSIX
requirement for a -v flag to unset requirement for a -v flag to unset

@ -9,8 +9,9 @@ local pflag
_arguments -s -A "-*" -S \ _arguments -s -A "-*" -S \
'-r[raw mode]' \ '-r[raw mode]' \
'(-p -k -s -u -z)-q[read y or n character from terminal]' \ '(-p -k -s -u -z)-q[read y or n character from terminal]' \
'(-q)-k+[specify number of characters to read]:number of characters' \ '(-q)-k+[specify number of characters to read]:: :_guard "[0-9]#" "number of characters"' \
'(-q -s -u -p)-z[read entry from editor buffer stack]' \ '(-q -z)-t+[test if input is available before reading]:: :_guard "[0-9.]#" "timeout (seconds)"' \
'(-q -s -u -p -t)-z[read entry from editor buffer stack]' \
'(-E)-e[input read is echoed and not assigned]' \ '(-E)-e[input read is echoed and not assigned]' \
'(-e)-E[input read is echoed]' \ '(-e)-E[input read is echoed]' \
'(-q -z -p)-s[suppress terminal echoing]' \ '(-q -z -p)-s[suppress terminal echoing]' \