aboutsummaryrefslogtreecommitdiffstats
path: root/funcs/func_config.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-03-11 22:54:25 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-03-11 22:54:25 +0000
commitd2d92188c2395ba71f173cd9fcb00eaf57489778 (patch)
tree41b4828a60e858a8c1690258ee98c242598298a4 /funcs/func_config.c
parentc685c2e7f379541b2c0d8be8e05225792f048a43 (diff)
remove documentation of an argument that i did not implement
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@107790 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs/func_config.c')
-rw-r--r--funcs/func_config.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/funcs/func_config.c b/funcs/func_config.c
index 2cbd3d87c..2698cac79 100644
--- a/funcs/func_config.c
+++ b/funcs/func_config.c
@@ -90,15 +90,10 @@ static int config_function_read(struct ast_channel *chan, const char *cmd, char
static struct ast_custom_function config_function = {
.name = "AST_CONFIG",
- .syntax = "AST_CONFIG(config_file,category,variable_name[,index])",
+ .syntax = "AST_CONFIG(config_file,category,variable_name)",
.synopsis = "Retrieve a variable from a configuration file",
.desc =
" This function reads a variable from an Asterisk configuration file.\n"
- "The optional index parameter would be used in the case that a variable\n"
- "exists more than once in a category. The index is zero-based, so an\n"
- "index of 0 returns the first instance of the variable. Also, if the\n"
- "word \"count\" in the index field, the number of instances of that\n"
- "variable will be returned.\n"
"",
.read = config_function_read,
};