summaryrefslogtreecommitdiffstats
path: root/Doc/Zsh/params.yo
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2008-03-18 15:49:58 +0000
committerBart Schaefer <barts@users.sourceforge.net>2008-03-18 15:49:58 +0000
commit337cc1288797a1435e6fbbf0945a7cdb94d152b1 (patch)
treebc970f6e5bc77f3d751ac5b7dad38fb50886f384 /Doc/Zsh/params.yo
parent24717, 24718, 24719: a 0 subscript is neither valid nor equivalent to 1 (diff)
downloadzsh-337cc1288797a1435e6fbbf0945a7cdb94d152b1.tar
zsh-337cc1288797a1435e6fbbf0945a7cdb94d152b1.tar.gz
zsh-337cc1288797a1435e6fbbf0945a7cdb94d152b1.tar.bz2
zsh-337cc1288797a1435e6fbbf0945a7cdb94d152b1.tar.lz
zsh-337cc1288797a1435e6fbbf0945a7cdb94d152b1.tar.xz
zsh-337cc1288797a1435e6fbbf0945a7cdb94d152b1.tar.zst
zsh-337cc1288797a1435e6fbbf0945a7cdb94d152b1.zip
Tweak documentation.
Diffstat (limited to 'Doc/Zsh/params.yo')
-rw-r--r--Doc/Zsh/params.yo4
1 files changed, 2 insertions, 2 deletions
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