From 2ba44e6b10b0b2261aebb81fb0a2ddf06bf94f4e Mon Sep 17 00:00:00 2001 From: Steve Murphy Date: Sat, 14 Oct 2006 04:38:15 +0000 Subject: [PATCH] update the doc string for both AEL and extensions.conf users. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@45143 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- funcs/func_rand.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/funcs/func_rand.c b/funcs/func_rand.c index a216754acd..53952d3410 100644 --- a/funcs/func_rand.c +++ b/funcs/func_rand.c @@ -80,11 +80,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, };