File pacemaker-tools-improve-help-text.patch of Package pacemaker

commit 4689494f5c8fef4088dbada0552fceac64e3218c
Author: Ken Gaillot <kgaillot@redhat.com>
Date:   Tue Nov 28 11:27:24 2017 -0600

    Doc: tools: improve help text

Index: pacemaker-1.1.18+20171218.8a704193c/tools/cib_shadow.c
===================================================================
--- pacemaker-1.1.18+20171218.8a704193c.orig/tools/cib_shadow.c
+++ pacemaker-1.1.18+20171218.8a704193c/tools/cib_shadow.c
@@ -147,7 +147,7 @@ static struct crm_option long_options[]
     {"-spacer-",	1, 0, '-', "Display the current shadow configuration:", pcmk_option_paragraph},
     {"-spacer-",	1, 0, '-', " crm_shadow --display", pcmk_option_example},
     {"-spacer-",	1, 0, '-', "Discard the current shadow configuration (named myShadow):", pcmk_option_paragraph},
-    {"-spacer-",	1, 0, '-', " crm_shadow --delete myShadow", pcmk_option_example},
+    {"-spacer-",	1, 0, '-', " crm_shadow --delete myShadow --force", pcmk_option_example},
     {"-spacer-",	1, 0, '-', "Upload the current shadow configuration (named myShadow) to the running cluster:", pcmk_option_paragraph},
     {"-spacer-",	1, 0, '-', " crm_shadow --commit myShadow", pcmk_option_example},
 
Index: pacemaker-1.1.18+20171218.8a704193c/tools/crm_failcount
===================================================================
--- pacemaker-1.1.18+20171218.8a704193c.orig/tools/crm_failcount
+++ pacemaker-1.1.18+20171218.8a704193c/tools/crm_failcount
@@ -14,7 +14,7 @@ Commands:
 Additional Options:
  -r, --resource=value   Name of the resource to use (required)
  -n, --operation=value  Name of operation to use (instead of all operations)
- -I, --interval=value   If operation is specified, its interval (MUST be in milliseconds)
+ -I, --interval=value   If operation is specified, its interval
  -N, --node=value       Use failcount on named node (instead of local node)"
 
 
Index: pacemaker-1.1.18+20171218.8a704193c/tools/crm_verify.c
===================================================================
--- pacemaker-1.1.18+20171218.8a704193c.orig/tools/crm_verify.c
+++ pacemaker-1.1.18+20171218.8a704193c/tools/crm_verify.c
@@ -91,11 +91,12 @@ main(int argc, char **argv)
 
     crm_log_cli_init("crm_verify");
     crm_set_options(NULL, "[modifiers] data_source", long_options,
-                    "Check a (complete) confiuration for syntax and common conceptual errors."
-                    "\n\nChecks the well-formedness of an XML configuration, its conformance to the configured DTD/schema and for the presence of common misconfigurations."
-                    "\n\nIt reports two classes of problems, errors and warnings."
-                    " Errors must be fixed before the cluster will work properly."
-                    " However, it is left up to the administrator to decide if the warnings should also be fixed.");
+                    "check a Pacemaker configuration for errors"
+                    "\n\nCheck the well-formedness of a complete Pacemaker XML configuration,"
+                    "\n\nits conformance to the configured schema, and the presence of common"
+                    "\n\nmisconfigurations. Problems reported as errors must be fixed before the"
+                    "\n\ncluster will work properly. It is left to the administrator to decide"
+                    "\n\nwhether to fix problems reported as warnings.");
 
     while (1) {
         flag = crm_get_option(argc, argv, &option_index);