diff options
author | murf <murf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-10-14 04:38:15 +0000 |
---|---|---|
committer | murf <murf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-10-14 04:38:15 +0000 |
commit | cf53c9f424410a2a87191b64226e246b593c7fec (patch) | |
tree | 21646be8157182638ee4157b50ac19c9edb339ec /funcs | |
parent | c9321ecaecbb3383393de55d7cb3f1156b7f2233 (diff) |
update the doc string for both AEL and extensions.conf users.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@45143 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs')
-rw-r--r-- | funcs/func_rand.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/funcs/func_rand.c b/funcs/func_rand.c index a216754ac..53952d341 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, }; |