aboutsummaryrefslogtreecommitdiffstats
path: root/funcs
diff options
context:
space:
mode:
authormurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2006-10-14 04:36:21 +0000
committermurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2006-10-14 04:36:21 +0000
commit6bda949bd61a0296482c298a85fbed011221b7c0 (patch)
treeb3aa988cdd8c3a50c0bb34ba69462dd3a5db9772 /funcs
parent3cea33ad57dd956ecee479b3a6a79290d1ebcee8 (diff)
update the doc string for both AEL and extensions.conf users.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@45142 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs')
-rw-r--r--funcs/func_rand.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/funcs/func_rand.c b/funcs/func_rand.c
index 67bc8e931..32a167f69 100644
--- a/funcs/func_rand.c
+++ b/funcs/func_rand.c
@@ -83,11 +83,11 @@ static int acf_rand_exec(struct ast_channel *chan, char *cmd,
static struct ast_custom_function acf_rand = {
.name = "RAND",
.synopsis = "Choose a random number in a range",
- .syntax = "RAND([min][,max])",
+ .syntax = "RAND([min][|max])",
.desc =
"Choose a random number between min and max. Min defaults to 0, if not\n"
"specified, while max defaults to RAND_MAX (2147483647 on many systems).\n"
- " Example: Set(junky=${RAND(1,8)}); \n"
+ " Example: Set(junky=${RAND(1|8)}); \n"
" Sets junky to a random number between 1 and 8, inclusive.\n",
.read = acf_rand_exec,
};