From 337cc1288797a1435e6fbbf0945a7cdb94d152b1 Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Tue, 18 Mar 2008 15:49:58 +0000 Subject: Tweak documentation. --- ChangeLog | 3 +++ Doc/Zsh/params.yo | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index d7cf980e1..a84c90582 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2008-03-18 Barton E. Schaefer + * unposted: Doc/Zsh/params.yo: Tweak documentation for the (i) and + (I) subscript flags. + * 24717, 24718, 24719: Completion/compinstall, Src/params.c, Test/D06subscript.ztst: a 0 subscript is neither valid nor equivalent to 1 any longer, so the (i) subscript flag on an empty diff --git a/Doc/Zsh/params.yo b/Doc/Zsh/params.yo index 0094ee080..94a2d9ea5 100644 --- a/Doc/Zsh/params.yo +++ b/Doc/Zsh/params.yo @@ -251,8 +251,8 @@ Like `tt(r)', but gives the index of the match instead; this may not be combined with a second argument. On the left side of an assignment, behaves like `tt(r)'. For associative arrays, the key part of each pair is compared to the pattern, and the first matching key found is the -result. On failure substitutes one more than the last currently -valid index, as discussed under the description of `tt(r)'. +result. On failure substitutes the length of the array plus one, as +discussed under the description of `tt(r)'. ) item(tt(I))( Like `tt(i)', but gives the index of the last match, or all possible -- cgit 1.4.1