aboutsummaryrefslogtreecommitdiffstats
path: root/funcs/func_strings.c
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-01-15 18:08:04 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-01-15 18:08:04 +0000
commit01ec86ea48d87e6117be9a8452bbd3783f2b1598 (patch)
treee823f75c86c3934f803eecfdde56bcb280900ef8 /funcs/func_strings.c
parentd947f8c971d9bc2264dc66063236c89ad57d2ecd (diff)
Clarify description of ARRAY function
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8080 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs/func_strings.c')
-rw-r--r--funcs/func_strings.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/funcs/func_strings.c b/funcs/func_strings.c
index be4f02fe2..cc540185a 100644
--- a/funcs/func_strings.c
+++ b/funcs/func_strings.c
@@ -224,10 +224,12 @@ struct ast_custom_function array_function = {
.syntax = "ARRAY(var1[,var2[...][,varN]])",
.write = builtin_function_array,
.desc =
-"The comma-separated list passed as a value to which the function is set\n"
-"will be interpreted as a set of values to which the comma-separated list\n"
-"of variable names in the argument should be set.\n"
-"Hence, Set(ARRAY(var1,var2)=1,2) will set var1 to 1 and var2 to 2\n",
+"The comma-separated list passed as a value to which the function is set will\n"
+"be interpreted as a set of values to which the comma-separated list of\n"
+"variable names in the argument should be set.\n"
+"Hence, Set(ARRAY(var1,var2)=1,2) will set var1 to 1 and var2 to 2\n"
+"Note: remember to either backslash your commas in extensions.conf or quote the\n"
+"entire argument, since Set can take multiple arguments itself.\n",
};
static char *builtin_function_len(struct ast_channel *chan, char *cmd, char *data, char *buf, size_t len)