docs: add "Alias" column to man nm-settings-nmcli

This commit is contained in:
Thomas Haller
2020-06-12 12:09:30 +02:00
parent 3c11116c48
commit a3b9b661d4
2 changed files with 4 additions and 1 deletions

View File

@@ -118,7 +118,8 @@
<tgroup cols="4">
<thead>
<row>
<entry>Key Name</entry>
<entry>Property Name</entry>
<entry>Alias</entry>
<entry>Value Type</entry>
<entry>Default Value</entry>
<entry>Value Description</entry>
@@ -136,6 +137,7 @@
<xsl:variable name="setting_name" select="../@name"/>
<row>
<entry align="left"><xsl:attribute name="id">nm-settings-nmcli.property.<xsl:value-of select="../@name"/>.<xsl:value-of select="@name"/></xsl:attribute><xsl:value-of select="@name"/></entry>
<entry align="left"><xsl:value-of select="@alias"/></entry>
<entry align="left"><xsl:value-of select="@type"/></entry>
<entry align="left"><xsl:value-of select="@default"/></entry>
<entry><xsl:value-of select="@description"/><xsl:if test="@type = 'NMSettingSecretFlags (uint32)'"> (see <xref linkend="secrets-flags"/> for flag values)</xsl:if></entry>

View File

@@ -166,5 +166,6 @@ for setting_name in iter_keys_of_dicts(settings_roots, key_fcn_setting_name):
node_set_attr(property_node, 'default', properties_attrs)
node_set_attr(property_node, 'description', properties_attrs)
node_set_attr(property_node, 'alias', properties_attrs)
ET.ElementTree(root_node).write(gl_output_xml_file)