cluster: STABLE32 - ccs_tool: fix ccs_edit example

Fabio M. Di Nitto fabbione at fedoraproject.org
Wed Jan 9 16:03:06 UTC 2013


Gitweb:        http://git.fedorahosted.org/git/?p=cluster.git;a=commitdiff;h=87135d56ee90e7bb1a87b6d12fdd69a63aee747f
Commit:        87135d56ee90e7bb1a87b6d12fdd69a63aee747f
Parent:        9c10e5bbd912488fb694e8fd81f1e745d99f2acc
Author:        Fabio M. Di Nitto <fdinitto at redhat.com>
AuthorDate:    Wed Jan 9 17:01:55 2013 +0100
Committer:     Fabio M. Di Nitto <fdinitto at redhat.com>
CommitterDate: Wed Jan 9 17:01:55 2013 +0100

ccs_tool: fix ccs_edit example

Resolves: rhbz#871603

Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>
---
 config/tools/ccs_tool/editconf.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/config/tools/ccs_tool/editconf.c b/config/tools/ccs_tool/editconf.c
index 9415506..c4dcb9c 100644
--- a/config/tools/ccs_tool/editconf.c
+++ b/config/tools/ccs_tool/editconf.c
@@ -100,7 +100,7 @@ static void create_usage(const char *name)
 	  "\n"
 	  "eg:\n"
 	  "  ccs_tool create MyCluster\n"
-	  "  ccs_tool addfence apc fence_apc ipaddr=apc.domain.net user=apc password=apc\n"
+	  "  ccs_tool addfence apc fence_apc ipaddr=apc.domain.net login=apc password=apc\n"
 	  "  ccs_tool addnode node1 -n 1 -f apc port=1\n"
 	  "  ccs_tool addnode node2 -n 2 -f apc port=2\n"
 	  "  ccs_tool addnode node3 -n 3 -f apc port=3\n"
@@ -225,7 +225,7 @@ static void addnode_usage(const char *name)
 	fprintf(stderr, "Examples:\n");
 	fprintf(stderr, "\n");
 	fprintf(stderr, "Add a new node to default configuration file:\n");
-	fprintf(stderr, "  %s %s newnode1 -n 1 -f manual ipaddr=newnode\n", prog_name, name);
+	fprintf(stderr, "  %s %s newnode1 -n 1 -f wti ipaddr=newnode\n", prog_name, name);
 	fprintf(stderr, "\n");
 	fprintf(stderr, "Add a new node and dump config file to stdout rather than save it\n");
 	fprintf(stderr, "  %s %s newnode2 -n 2 -f apc -o- newnode.temp.net port=1\n", prog_name, name);


More information about the cluster-commits mailing list