diff options
author | Thomas Haller <thaller@redhat.com> | 2020-06-12 12:24:43 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2020-06-12 12:29:37 +0200 |
commit | efe0ccf04a4a245e31ed9e3ddc693279aff81fc1 (patch) | |
tree | 8f040bbbbdfa0719ce359c053d5d2fbef6db44d2 | |
parent | a3b9b661d44d2a0eb8cbe4816995ec6faf45233a (diff) | |
download | NetworkManager-efe0ccf04a4a245e31ed9e3ddc693279aff81fc1.tar.gz |
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.
-rw-r--r-- | clients/cli/generate-docs-nm-settings-nmcli.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 ("%s<property", _indent_level (2*INDENT)); g_print (" name=%s", tmp2 = _xml_escape_attribute (prop_info->property_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"); } |