From 20bbd09de3f3de70a0b365082795d90614fc4532 Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Tue, 31 Jul 2007 01:10:47 +0000 Subject: Mostly cleanup of documentation to substitute the pipe with the comma, but a few other formatting cleanups, too. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@77808 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- funcs/func_enum.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'funcs/func_enum.c') diff --git a/funcs/func_enum.c b/funcs/func_enum.c index 581d68a7a..f3655be9e 100644 --- a/funcs/func_enum.c +++ b/funcs/func_enum.c @@ -52,7 +52,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include "asterisk/enum.h" #include "asterisk/app.h" -static char *synopsis = "Syntax: ENUMLOOKUP(number[|Method-type[|options[|record#[|zone-suffix]]]])\n"; +static char *synopsis = "Syntax: ENUMLOOKUP(number[,Method-type[,options[,record#[,zone-suffix]]]])\n"; static int function_enum(struct ast_channel *chan, const char *cmd, char *data, char *buf, size_t len) @@ -293,7 +293,7 @@ finish: static struct ast_custom_function enum_query_function = { .name = "ENUMQUERY", .synopsis = "Initiate an ENUM query", - .syntax = "ENUMQUERY(number[|Method-type[|zone-suffix]])", + .syntax = "ENUMQUERY(number[,Method-type[,zone-suffix]])", .desc = "This will do a ENUM lookup of the given phone number.\n" "If no method-tpye is given, the default will be sip. If no\n" "zone-suffix is given, the default will be \"e164.arpa\".\n" @@ -305,7 +305,7 @@ static struct ast_custom_function enum_query_function = { static struct ast_custom_function enum_result_function = { .name = "ENUMRESULT", .synopsis = "Retrieve results from a ENUMQUERY", - .syntax = "ENUMRESULT(id|resultnum)", + .syntax = "ENUMRESULT(id,resultnum)", .desc = "This function will retrieve results from a previous use\n" "of the ENUMQUERY function.\n" " id - This argument is the identifier returned by the ENUMQUERY function.\n" @@ -320,7 +320,7 @@ static struct ast_custom_function enum_function = { .synopsis = "General or specific querying of NAPTR records for ENUM or ENUM-like DNS pointers", .syntax = - "ENUMLOOKUP(number[|Method-type[|options[|record#[|zone-suffix]]]])", + "ENUMLOOKUP(number[,Method-type[,options[,record#[,zone-suffix]]]])", .desc = "Option 'c' returns an integer count of the number of NAPTRs of a certain RR type.\n" "Combination of 'c' and Method-type of 'ALL' will return a count of all NAPTRs for the record.\n" -- cgit v1.2.3