mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-21 09:10:36 +00:00
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
This commit is contained in:
@@ -1611,6 +1611,7 @@ static void xmldoc_parse_optionlist(struct ast_xml_node *fixnode, const char *ta
|
|||||||
if (!xmldoc_parse_option(node, tabs, buffer)) {
|
if (!xmldoc_parse_option(node, tabs, buffer)) {
|
||||||
ast_str_append(buffer, 0, "\n");
|
ast_str_append(buffer, 0, "\n");
|
||||||
}
|
}
|
||||||
|
ast_str_append(buffer, 0, "\n");
|
||||||
ast_xml_free_attr(optname);
|
ast_xml_free_attr(optname);
|
||||||
ast_xml_free_attr(hasparams);
|
ast_xml_free_attr(hasparams);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user