aboutsummaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2021-05-13 14:36:19 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2021-08-14 14:07:08 +0000
commit1449f81183cbb8aef7e7bc49159331f9d6a950bb (patch)
treea7f4401ecebb88953940458054666ab6cd8508ba /Doc
parentdaa208e90763d304dc1d554a834d0066e0b9937c (diff)
downloadzsh-1449f81183cbb8aef7e7bc49159331f9d6a950bb.tar.gz
zsh-1449f81183cbb8aef7e7bc49159331f9d6a950bb.tar.xz
zsh-1449f81183cbb8aef7e7bc49159331f9d6a950bb.zip
users/26734: docs: read: Notate the parameter name argument as optional.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/builtins.yo2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo
index f8e11d79d..ddbcd4363 100644
--- a/Doc/Zsh/builtins.yo
+++ b/Doc/Zsh/builtins.yo
@@ -1493,7 +1493,7 @@ findex(read)
vindex(IFS, use of)
redef(SPACES)(0)(tt(ifztexi(NOTRANS(@ @ @ @ @ ))ifnztexi( )))
xitem(tt(read )[ tt(-rszpqAclneE) ] [ tt(-t) [ var(num) ] ] [ tt(-k) [ var(num) ] ] [ tt(-d) var(delim) ])
-item(SPACES()[ tt(-u) var(n) ] [ var(name)[tt(?)var(prompt)] ] [ var(name) ... ])(
+item(SPACES()[ tt(-u) var(n) ] [ [var(name)][tt(?)var(prompt)] ] [ var(name) ... ])(
vindex(REPLY, use of)
vindex(reply, use of)
Read one line and break it into fields using the characters