Blame SOURCES/bz1763249-manpages-fix-pcs-syntax.patch

030326
From 0903a60930238238d5caa6c3b42b28d7bc4cccf4 Mon Sep 17 00:00:00 2001
030326
From: Oyvind Albrigtsen <oalbrigt@redhat.com>
030326
Date: Mon, 26 Oct 2020 13:11:05 +0100
030326
Subject: [PATCH 1/2] man: use promotable keyword in manpage examples
030326
030326
---
030326
 doc/man/ra2refentry.xsl | 2 +-
030326
 1 file changed, 1 insertion(+), 1 deletion(-)
030326
030326
diff --git a/doc/man/ra2refentry.xsl b/doc/man/ra2refentry.xsl
030326
index d0535fd36..f3cdcdbb2 100644
030326
--- a/doc/man/ra2refentry.xsl
030326
+++ b/doc/man/ra2refentry.xsl
030326
@@ -556,7 +556,7 @@
030326
      
030326
       agent supports promotion and demotion -->
030326
       <xsl:if test="actions/action/@name = 'promote' and actions/action/@name = 'demote'">
030326
-          <xsl:text>--master</xsl:text>
030326
+          <xsl:text>promotable</xsl:text>
030326
       </xsl:if>
030326
       </programlisting>
030326
 
030326
030326
From bfcd5796ae12e6a43a245d0c785f183342943393 Mon Sep 17 00:00:00 2001
030326
From: Oyvind Albrigtsen <oalbrigt@redhat.com>
030326
Date: Mon, 26 Oct 2020 16:56:00 +0100
030326
Subject: [PATCH 2/2] man: use OCF_CHECK_LEVEL for depth parameters in pcs
030326
 examples
030326
030326
---
030326
 doc/man/ra2refentry.xsl | 9 ++++++++-
030326
 1 file changed, 8 insertions(+), 1 deletion(-)
030326
030326
diff --git a/doc/man/ra2refentry.xsl b/doc/man/ra2refentry.xsl
030326
index f3cdcdbb2..f8e12321f 100644
030326
--- a/doc/man/ra2refentry.xsl
030326
+++ b/doc/man/ra2refentry.xsl
030326
@@ -612,7 +612,14 @@
030326
     <xsl:choose>
030326
       <xsl:when test="name() = 'name'"></xsl:when>
030326
       <xsl:otherwise>
030326
-        <xsl:value-of select="name()"/>
030326
+        <xsl:choose>
030326
+          <xsl:when test="name() != 'depth'">
030326
+          <xsl:value-of select="name()"/>
030326
+          </xsl:when>
030326
+          <xsl:otherwise>
030326
+            <xsl:text>OCF_CHECK_LEVEL</xsl:text>
030326
+          </xsl:otherwise>
030326
+        </xsl:choose>
030326
         <xsl:text>="</xsl:text>
030326
         <xsl:value-of select="current()"/>
030326
         <xsl:text>" </xsl:text>