From 1449f81183cbb8aef7e7bc49159331f9d6a950bb Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Thu, 13 May 2021 14:36:19 +0000 Subject: users/26734: docs: read: Notate the parameter name argument as optional. --- ChangeLog | 5 +++++ Doc/Zsh/builtins.yo | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b7ba668f4..7c16bbf29 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2021-08-14 Daniel Shahaf + + * users/26734: Doc/Zsh/builtins.yo: docs: read: Notate the + parameter name argument as optional. + 2021-08-10 Peter Stephenson * 49269: Src/parse.c, Test/C02cond.ztst: "[ ! -o ]" should 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 -- cgit 1.4.1