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

MORITA Kazutaka morita.kazutaka at gmail.com
Sat Aug 10 17:58:44 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     |    3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/collie/cluster.c b/collie/cluster.c
index 8826d15..19746c3 100644
--- a/collie/cluster.c
+++ b/collie/cluster.c
@@ -481,7 +481,7 @@ static struct subcommand cluster_cmd[] = {
 	 cluster_snapshot_cmd, SUBCMD_FLAG_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, SUBCMD_FLAG_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 0d6629a..852f7f6 100644
--- a/collie/vdi.c
+++ b/collie/vdi.c
@@ -2092,7 +2092,8 @@ static struct subcommand vdi_cmd[] = {
 	{"restore", "<vdiname> <backup>", "saph", "restore snapshot images from a backup",
 	 NULL, SUBCMD_FLAG_NEED_NODELIST|SUBCMD_FLAG_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, SUBCMD_FLAG_NEED_ARG,
 	 vdi_cache, vdi_options},
 	{NULL,},
-- 
1.7.9.5




More information about the sheepdog mailing list