docs: fix showing link for secrets-flags in man nm-settings-nmcli

The input always actually has a <description-docbook> field, so the secret-flags
hint was never shown.

Move it. It's indepenent from <description> and <description-docbook> anyway.

With this we see the expected messages

  See the section called “Secret flag types:” for flag values.
This commit is contained in:
Thomas Haller 2023-05-19 08:56:26 +02:00
parent 676a99c96a
commit d95001beff
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728

View file

@ -157,12 +157,14 @@
<xsl:otherwise>
<para>
<xsl:value-of select="@description"/>
<xsl:if test="@type = 'NMSettingSecretFlags (uint32)'">
See <xref linkend="secrets-flags"/> for flag values.
</xsl:if>
</para>
</xsl:otherwise>
</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"/>.