summaryrefslogtreecommitdiff
path: root/funcs
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2008-03-11 22:54:25 +0000
committerRussell Bryant <russell@russellbryant.com>2008-03-11 22:54:25 +0000
commitc89a4be6e7764e69458181da254454832221e92d (patch)
tree41b4828a60e858a8c1690258ee98c242598298a4 /funcs
parent67fd292f9693566e7ea489e83f9496db1a52b010 (diff)
remove documentation of an argument that i did not implement
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@107790 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'funcs')
-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,
};