diff options
| author | Oliver Kiddle <opk@users.sourceforge.net> | 2003-02-17 10:07:53 +0000 |
|---|---|---|
| committer | Oliver Kiddle <opk@users.sourceforge.net> | 2003-02-17 10:07:53 +0000 |
| commit | 5164c6a3c92bf4e696709947ae991cdf534d20a0 (patch) | |
| tree | f1ddd7b3440c79c2dbbb19f300626e62d7654a01 /Completion | |
| parent | 18243: Nasty tty poll fix for Solaris (diff) | |
| download | zsh-5164c6a3c92bf4e696709947ae991cdf534d20a0.tar zsh-5164c6a3c92bf4e696709947ae991cdf534d20a0.tar.gz zsh-5164c6a3c92bf4e696709947ae991cdf534d20a0.tar.bz2 zsh-5164c6a3c92bf4e696709947ae991cdf534d20a0.tar.lz zsh-5164c6a3c92bf4e696709947ae991cdf534d20a0.tar.xz zsh-5164c6a3c92bf4e696709947ae991cdf534d20a0.tar.zst zsh-5164c6a3c92bf4e696709947ae991cdf534d20a0.zip | |
18242: add -d option to read for specifying delimiter to terminate input
Diffstat (limited to 'Completion')
| -rw-r--r-- | Completion/Zsh/Command/_read | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Completion/Zsh/Command/_read b/Completion/Zsh/Command/_read index 46fdb2de6..acf356a44 100644 --- a/Completion/Zsh/Command/_read +++ b/Completion/Zsh/Command/_read @@ -11,6 +11,7 @@ _arguments -s -A "-*" -S \ '(-p -k -s -u -z)-q[read y or n character from terminal]' \ '(-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)-d[specify delimiter to terminate input instead of newline]:delimiter' \ '(-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]' \ |
