about summary refs log tree commit diff
path: root/Doc
diff options
context:
space:
mode:
authorClinton Bunch <cdb_zsh@zentaur.org>2024-08-31 09:10:12 -0500
committerOliver Kiddle <opk@zsh.org>2024-08-31 17:22:02 +0200
commit6b9704e2c4e4c8524137a9c15bf9b166a975f3eb (patch)
treef796c4b9db4cd7010aa0bd58747cccd161602142 /Doc
parent58bda5913007f53c91ae60cd22483dd222ea5618 (diff)
downloadzsh-6b9704e2c4e4c8524137a9c15bf9b166a975f3eb.tar.gz
zsh-6b9704e2c4e4c8524137a9c15bf9b166a975f3eb.tar.xz
zsh-6b9704e2c4e4c8524137a9c15bf9b166a975f3eb.zip
53060: silence build warnings
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/mod_random.yo2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/Zsh/mod_random.yo b/Doc/Zsh/mod_random.yo
index d2892bf79..4f5622e61 100644
--- a/Doc/Zsh/mod_random.yo
+++ b/Doc/Zsh/mod_random.yo
@@ -41,7 +41,7 @@ tt(inclusive) is a flag that controls whether the result is ever equal to
 tt(upper).  By default it is not. If this argument is set to a non-zero value
 then it may be.
 
-This is to facilitate a construct like tt($a[zrand_int($#a)+1]) rather
+This is to facilitate a construct like tt($a[zrand_int+LPAR()$#a+RPAR()+1]) rather
 than tt($a[zrand_int+LPAR()$#a-1+RPAR()+1]).
 For example, if $#a is 16, you would use tt(zrand_int+LPAR()16RPAR()) which has
 16 possible return values 0-15.  Because the function can return zero, in order