[asterisk-commits] mvanbaak: trunk r212339 - /trunk/main/xmldoc.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Aug 15 06:25:17 CDT 2009


Author: mvanbaak
Date: Sat Aug 15 06:25:11 2009
New Revision: 212339

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=212339
Log:
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)

Modified:
    trunk/main/xmldoc.c

Modified: trunk/main/xmldoc.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/main/xmldoc.c?view=diff&rev=212339&r1=212338&r2=212339
==============================================================================
--- trunk/main/xmldoc.c (original)
+++ trunk/main/xmldoc.c Sat Aug 15 06:25:11 2009
@@ -1611,6 +1611,7 @@
 		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);
 	}




More information about the asterisk-commits mailing list