about summary refs log tree commit diff
path: root/Doc/Zsh/mod_random.yo
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/Zsh/mod_random.yo')
-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