From 5164c6a3c92bf4e696709947ae991cdf534d20a0 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Mon, 17 Feb 2003 10:07:53 +0000 Subject: 18242: add -d option to read for specifying delimiter to terminate input --- Completion/Zsh/Command/_read | 1 + 1 file changed, 1 insertion(+) (limited to 'Completion/Zsh') 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]' \ -- cgit 1.4.1