[Cluster-devel] [PATCH] Fixed hep for 'addservice' command

Dmitry Mishin dim at parallels.com
Fri Dec 17 11:54:51 UTC 2010


Sorry, missed it in 'addservice' addition patch series.

Signed-off-by: Dmitry Mishin <dim at parallels.com>
---
 config/tools/ccs_tool/editconf.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/config/tools/ccs_tool/editconf.c b/config/tools/ccs_tool/editconf.c
index a443831..9477d4e 100644
--- a/config/tools/ccs_tool/editconf.c
+++ b/config/tools/ccs_tool/editconf.c
@@ -236,6 +236,13 @@ static void addnode_usage(const char *name)
 static void addservice_usage(const char *name)
 {
 	fprintf(stderr, "Usage: %s %s [options] <servicename>\n", prog_name, name);
+	fprintf(stderr, " -a --autostart       Start the service on boot\n");
+	fprintf(stderr, " -d --domain          Failover domain for the service\n");
+	fprintf(stderr, " -x --exclusive       Do not run other services on the same server\n");
+	fprintf(stderr, " -r --recovery        Recovery policy\n");
+	fprintf(stderr, " -f --fs              Filesystem resource for the service\n");
+	fprintf(stderr, " -s --script          Script resource for the service\n");
+	fprintf(stderr, " -i --ip              IP address resource for the service\n");
 	config_usage(1);
 	help_usage();
 
-- 
1.7.1




More information about the Cluster-devel mailing list