diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | Completion/Zsh/Command/_read | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index 99537b658..7ff88c172 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 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 requirement for a -v flag to unset diff --git a/Completion/Zsh/Command/_read b/Completion/Zsh/Command/_read index d94e8b65f..46fdb2de6 100644 --- a/Completion/Zsh/Command/_read +++ b/Completion/Zsh/Command/_read @@ -9,8 +9,9 @@ local pflag _arguments -s -A "-*" -S \ '-r[raw mode]' \ '(-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 -s -u -p)-z[read entry from editor buffer stack]' \ + '(-q)-k+[specify number of characters to read]:: :_guard "[0-9]#" "number of characters"' \ + '(-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]' \ '(-q -z -p)-s[suppress terminal echoing]' \ |