diff options
Diffstat (limited to 'man/nm-settings-nmcli.xsl')
| -rw-r--r-- | man/nm-settings-nmcli.xsl | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/man/nm-settings-nmcli.xsl b/man/nm-settings-nmcli.xsl index d7b770d6..5817e8e2 100644 --- a/man/nm-settings-nmcli.xsl +++ b/man/nm-settings-nmcli.xsl @@ -140,8 +140,8 @@ <varlistentry> <term> <option> - <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"/> + <xsl:attribute name="id">nm-settings-nmcli.property.<xsl:value-of select="$setting_name"/>.<xsl:value-of select="@name"/></xsl:attribute> + <xsl:value-of select="$setting_name"/>.<xsl:value-of select="@name"/> </option> </term> <listitem> @@ -154,15 +154,17 @@ <xsl:when test="description-docbook"> <xsl:copy-of select="./description-docbook/*/."/> </xsl:when> - <xsl:otherwise> + <xsl:when test="description"> <para> - <xsl:value-of select="@description"/> - <xsl:if test="@type = 'NMSettingSecretFlags (uint32)'"> - See <xref linkend="secrets-flags"/> for flag values. - </xsl:if> + <xsl:value-of select="description"/> </para> - </xsl:otherwise> + </xsl:when> </xsl:choose> + <xsl:if test="@type = 'NMSettingSecretFlags (uint32)'"> + <para> + See <xref linkend="secrets-flags"/> for flag values. + </para> + </xsl:if> <xsl:if test="deprecated"> <para> This property is deprecated since version <xsl:value-of select="deprecated/@since"/>. |