[sheepdog] [PATCH] nd

Yu Yang yuyang at cmss.chinamobile.com
Tue Feb 24 11:17:58 CET 2015


Signed-off-by: Yu Yang <yuyang at cmss.chinamobile.com>
---
 sheep/sheep.c |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/sheep/sheep.c b/sheep/sheep.c
index a5ba208..5e5f287 100644
--- a/sheep/sheep.c
+++ b/sheep/sheep.c
@@ -68,9 +68,10 @@ static const char cluster_help[] =
 "\tlocal: use local driver\n"
 "\tcorosync: use corosync driver\n"
 "\tzookeeper: use zookeeper driver, need extra arguments\n"
-"\n\tzookeeper arguments: address-list,timeout=value(default as 3000),domain=value(default as sd_domain_default)\n"
+"\n\tzookeeper arguments: address-list,timeout=value(default as 3000)"
+",domain=value(default as sd_domain_default)\n"
 "\nExample:\n\t"
-"$ sheep -c zookeeper:IP1:PORT1,IP2:PORT2,IP3:PORT3,timeout=1000,domain=sheep_domain ...\n"
+"$ sheep -c zookeeper:IP1:PORT1,IP2:PORT2,IP3:PORT3,timeout=1000,domain=sheep_01 ...\n"
 "This tries to use 3 node zookeeper cluster, which can be reached by\n"
 "IP1:PORT1, IP2:PORT2, IP3:PORT3 to manage membership and broadcast message\n"
 "and set the timeout of node heartbeat as 1000 milliseconds\n"
-- 
1.7.9.5






More information about the sheepdog mailing list