[sheepdog] [PATCH v2 03/14] collie: remove redundant "\n" from the help message

MORITA Kazutaka morita.kazutaka at gmail.com
Mon Aug 12 02:11:43 CEST 2013


From: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>

Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
---
 collie/cluster.c |    2 +-
 collie/vdi.c     |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/collie/cluster.c b/collie/cluster.c
index 7f07547..a7c03a0 100644
--- a/collie/cluster.c
+++ b/collie/cluster.c
@@ -481,7 +481,7 @@ static struct subcommand cluster_cmd[] = {
 	 cluster_snapshot_cmd, CMD_NEED_ARG,
 	 cluster_snapshot, cluster_options},
 	{"recover", NULL, "afph",
-	 "See 'collie cluster recover' for more information\n",
+	 "See 'collie cluster recover' for more information",
 	 cluster_recover_cmd, CMD_NEED_ARG,
 	 cluster_recover, cluster_options},
 	{"reweight", NULL, "aph", "reweight the cluster", NULL, 0,
diff --git a/collie/vdi.c b/collie/vdi.c
index a16c076..a123418 100644
--- a/collie/vdi.c
+++ b/collie/vdi.c
@@ -2092,7 +2092,7 @@ static struct subcommand vdi_cmd[] = {
 	{"restore", "<vdiname> <backup>", "saph", "restore snapshot images from a backup",
 	 NULL, CMD_NEED_NODELIST|CMD_NEED_ARG,
 	 vdi_restore, vdi_options},
-	{"cache", "<vdiname>", "saph", "Run 'collie vdi cache' for more information\n",
+	{"cache", "<vdiname>", "saph", "Run 'collie vdi cache' for more information",
 	 vdi_cache_cmd, CMD_NEED_ARG,
 	 vdi_cache, vdi_options},
 	{NULL,},
-- 
1.7.9.5




More information about the sheepdog mailing list