This is the mail archive of the
cluster-cvs@sourceware.org
mailing list for the cluster.
master - cman: switch default config parser to xmlconfig
- From: "Fabio M. Di Nitto" <fabbione at fedoraproject dot org>
- To: cluster-cvs-relay at redhat dot com
- Date: Thu, 14 Aug 2008 14:26:53 +0000 (UTC)
- Subject: master - cman: switch default config parser to xmlconfig
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=5d72dba366bbe42cc54fa0dd1b78918085832d76
Commit: 5d72dba366bbe42cc54fa0dd1b78918085832d76
Parent: c84e65d62b7ff3fffbf02985a39f187bf59eb541
Author: Fabio M. Di Nitto <fdinitto@redhat.com>
AuthorDate: Thu Aug 7 06:46:57 2008 +0200
Committer: Fabio M. Di Nitto <fdinitto@redhat.com>
CommitterDate: Thu Aug 14 15:18:02 2008 +0200
cman: switch default config parser to xmlconfig
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
---
cman/cman_tool/main.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/cman/cman_tool/main.c b/cman/cman_tool/main.c
index 49b7831..91d2e44 100644
--- a/cman/cman_tool/main.c
+++ b/cman/cman_tool/main.c
@@ -7,7 +7,7 @@
#include "libcman.h"
#include "cman_tool.h"
-#define DEFAULT_CONFIG_MODULE "ccsconfig"
+#define DEFAULT_CONFIG_MODULE "xmlconfig"
#define OPTION_STRING ("m:n:v:e:2p:c:r:i:N:t:o:k:F:C:VPwfqah?Xd::")
#define OP_JOIN 1
@@ -50,7 +50,7 @@ static void print_usage(int subcmd)
printf(" -n <nodename> The name of this node (defaults to hostname)\n");
printf(" -c <clustername> The name of the cluster to join\n");
printf(" -N <id> Node id\n");
- printf(" -C <module> Config file reader (default: ccsconfig)\n");
+ printf(" -C <module> Config file reader (default: " DEFAULT_CONFIG_MODULE ")\n");
printf(" -w Wait until node has joined a cluster\n");
printf(" -q Wait until the cluster is quorate\n");
printf(" -t Maximum time (in seconds) to wait\n");