diff options
author | Daniel Shahaf <d.s@daniel.shahaf.name> | 2021-05-13 14:36:19 +0000 |
---|---|---|
committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2021-08-14 14:07:08 +0000 |
commit | 1449f81183cbb8aef7e7bc49159331f9d6a950bb (patch) | |
tree | a7f4401ecebb88953940458054666ab6cd8508ba | |
parent | daa208e90763d304dc1d554a834d0066e0b9937c (diff) | |
download | zsh-1449f81183cbb8aef7e7bc49159331f9d6a950bb.tar.gz zsh-1449f81183cbb8aef7e7bc49159331f9d6a950bb.tar.xz zsh-1449f81183cbb8aef7e7bc49159331f9d6a950bb.zip |
users/26734: docs: read: Notate the parameter name argument as optional.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Doc/Zsh/builtins.yo | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index b7ba668f4..7c16bbf29 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2021-08-14 Daniel Shahaf <d.s@daniel.shahaf.name> + + * users/26734: Doc/Zsh/builtins.yo: docs: read: Notate the + parameter name argument as optional. + 2021-08-10 Peter Stephenson <p.stephenson@samsung.com> * 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 |