From efe0ccf04a4a245e31ed9e3ddc693279aff81fc1 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Fri, 12 Jun 2020 12:24:43 +0200 Subject: [PATCH] docs: use describe_doc for "generate-docs-nm-settings-nmcli.c" In practice, this is exactly the same, because also the describe_doc is generated. However, in the future they might diverge. --- clients/cli/generate-docs-nm-settings-nmcli.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/clients/cli/generate-docs-nm-settings-nmcli.c b/clients/cli/generate-docs-nm-settings-nmcli.c index 8ae5b13e49..4cff97063f 100644 --- a/clients/cli/generate-docs-nm-settings-nmcli.c +++ b/clients/cli/generate-docs-nm-settings-nmcli.c @@ -42,11 +42,14 @@ main (int argc, char *argv[]) const NMMetaPropertyInfo *prop_info = sett_info->properties[i_property]; gs_free char *tmp2 = NULL; gs_free char *tmp3 = NULL; + gs_free char *tmp4 = NULL; g_print ("%sproperty_name)); if (prop_info->property_alias) g_print ("\n%salias=%s", _indent_level (2*INDENT + 10), tmp3 = _xml_escape_attribute (prop_info->property_alias)); + if (prop_info->describe_doc) + g_print ("\n%sdescription=%s", _indent_level (2*INDENT + 10), tmp4 = _xml_escape_attribute (prop_info->describe_doc)); g_print (" />\n"); }