File pacemaker-tools-support-crm_failcount-q.patch of Package pacemaker.14737

commit 126d19e6fc2e03fbfaba9e6dfb7fc6add8079ff0
Author: Ken Gaillot <kgaillot@redhat.com>
Date:   Fri Mar 10 12:28:46 2017 -0600

    Fix: tools: support crm_failcount -q as advertised
    
    Also improves help text

diff --git a/tools/crm_failcount b/tools/crm_failcount
index 872a1f19b..19cd941c6 100755
--- a/tools/crm_failcount
+++ b/tools/crm_failcount
@@ -13,7 +13,7 @@ Commands:
 
 Additional Options:
  -r, --resource=value   Name of the resource to use (required)
- -N, --node=value       Set an attribute for the named node (instead of the current one)"
+ -N, --node=value       Use failcount on named node (instead of local node)"
 
 
 HELP_TEXT="crm_failcount - Query or delete resource fail counts
@@ -65,7 +65,7 @@ while true ; do
 			crm_attribute --version
 			exit $?
 			;;
-		-Q|--quiet|-V|--verbose)
+		-q|-Q|--quiet|-V|--verbose)
 			options="$options $1"
 			shift
 			;;
openSUSE Build Service is sponsored by