From 44ae3134227bdc4a641ccc0a9c43767a5b7176d9 Mon Sep 17 00:00:00 2001 From: Michiel van Baak Date: Sat, 15 Aug 2009 11:25:11 +0000 Subject: Add an empty line after each option when printing the documentation of a function/application. This will make reading the docs on the CLI way more easy. (closes issue #15694) Reported by: mvanbaak Patches: 2009081100-extralinesoptionlist.diff.txt uploaded by mvanbaak (license 7) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@212339 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/xmldoc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'main') diff --git a/main/xmldoc.c b/main/xmldoc.c index 17a756a27..70f5566f5 100644 --- a/main/xmldoc.c +++ b/main/xmldoc.c @@ -1611,6 +1611,7 @@ static void xmldoc_parse_optionlist(struct ast_xml_node *fixnode, const char *ta if (!xmldoc_parse_option(node, tabs, buffer)) { ast_str_append(buffer, 0, "\n"); } + ast_str_append(buffer, 0, "\n"); ast_xml_free_attr(optname); ast_xml_free_attr(hasparams); } -- cgit v1.2.3