about summary refs log tree commit diff
path: root/Completion/Zsh
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2003-02-17 10:07:53 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2003-02-17 10:07:53 +0000
commit5164c6a3c92bf4e696709947ae991cdf534d20a0 (patch)
treef1ddd7b3440c79c2dbbb19f300626e62d7654a01 /Completion/Zsh
parent06d25a35b0ee33b6cabe740321310ae0de61144d (diff)
downloadzsh-5164c6a3c92bf4e696709947ae991cdf534d20a0.tar.gz
zsh-5164c6a3c92bf4e696709947ae991cdf534d20a0.tar.xz
zsh-5164c6a3c92bf4e696709947ae991cdf534d20a0.zip
18242: add -d option to read for specifying delimiter to terminate input
Diffstat (limited to 'Completion/Zsh')
-rw-r--r--Completion/Zsh/Command/_read1
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]' \