pcs/bz1656953-01-drop-removed-command-pcs-resource-show-from-help.patch
2019-01-09 07:54:30 +01:00

48 lines
1.3 KiB
Diff

From 49ab32a69a3ce2b5e093b4997f01a4de9042b0b2 Mon Sep 17 00:00:00 2001
From: Tomas Jelinek <tojeline@redhat.com>
Date: Wed, 12 Dec 2018 10:15:17 +0100
Subject: [PATCH] drop removed command "pcs resource show" from help
---
pcs/pcs.8 | 4 ++--
pcs/usage.py | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/pcs/pcs.8 b/pcs/pcs.8
index 47d0dda7..aa72aa91 100644
--- a/pcs/pcs.8
+++ b/pcs/pcs.8
@@ -961,10 +961,10 @@ Authenticate current user to local pcsd. This is requiered to run some pcs comma
.SH EXAMPLES
.TP
Show all resources
-.B # pcs resource show
+.B # pcs resource config
.TP
Show options specific to the 'VirtualIP' resource
-.B # pcs resource show VirtualIP
+.B # pcs resource config VirtualIP
.TP
Create a new resource called 'VirtualIP' with options
.B # pcs resource create VirtualIP ocf:heartbeat:IPaddr2 ip=192.168.0.99 cidr_netmask=32 nic=eth2 op monitor interval=30s
diff --git a/pcs/usage.py b/pcs/usage.py
index 21c6e486..4487d844 100644
--- a/pcs/usage.py
+++ b/pcs/usage.py
@@ -558,10 +558,10 @@ Commands:
Examples:
- pcs resource show
+ pcs resource config
Show all resources.
- pcs resource show VirtualIP
+ pcs resource config VirtualIP
Show options specific to the 'VirtualIP' resource.
--
2.17.0