summaryrefslogtreecommitdiff
path: root/man/nm-settings-ifcfg-rh.xsl
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2014-11-16 16:46:12 -0500
committerDan Winship <danw@redhat.com>2014-11-19 09:24:10 -0500
commitc7341c982d1cd58c82970781f8d7dde8ed7298e5 (patch)
tree5de25161c0e82b7cee3daf176966712a5f2f8627 /man/nm-settings-ifcfg-rh.xsl
parente43ba45f2fc808b76c12f511390528cf1148a5f3 (diff)
man, docs: add the secret flags notes non-hackishly
Since libnm-core secret-flags properties are now enum-typed rather than just being uints, we can now actually recognize them when generating docs, rather than just assuming that every property whose name ends in '-flags', but isn't in NMSettingDcb, is a secret-flags property.
Diffstat (limited to 'man/nm-settings-ifcfg-rh.xsl')
-rw-r--r--man/nm-settings-ifcfg-rh.xsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/man/nm-settings-ifcfg-rh.xsl b/man/nm-settings-ifcfg-rh.xsl
index f069828ce0..ca4292f7aa 100644
--- a/man/nm-settings-ifcfg-rh.xsl
+++ b/man/nm-settings-ifcfg-rh.xsl
@@ -368,7 +368,7 @@ DEVICETYPE=TeamPort
</entry>
<entry align="left"><xsl:value-of select="@default"/></entry>
<entry align="left">
- <xsl:value-of select="@description"/><xsl:if test="contains(@name,'-flags') and $setting_name != 'dcb'"> (see <xref linkend="secrets-flags"/> for _FLAGS values)</xsl:if>
+ <xsl:value-of select="@description"/><xsl:if test="@format = 'NMSettingSecretFlags'"> (see <xref linkend="secrets-flags"/> for _FLAGS values)</xsl:if>
<xsl:if test="string-length(@example)">
<emphasis role="bold">