[sheepdog] [PATCH v2 2/2] collie: support raw output in node recovery

Hitoshi Mitake mitake.hitoshi at lab.ntt.co.jp
Thu Aug 8 04:34:26 CEST 2013


-r option is required for machine friendly output.

Signed-off-by: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
---
 collie/node.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/collie/node.c b/collie/node.c
index 6427081..1eb5c97 100644
--- a/collie/node.c
+++ b/collie/node.c
@@ -425,7 +425,7 @@ static struct subcommand node_cmd[] = {
 	 SUBCMD_FLAG_NEED_NODELIST, node_list},
 	{"info", NULL, "aprh", "show information about each node", NULL,
 	 SUBCMD_FLAG_NEED_NODELIST, node_info},
-	{"recovery", NULL, "aphP", "show recovery information of nodes", NULL,
+	{"recovery", NULL, "aphPr", "show recovery information of nodes", NULL,
 	 SUBCMD_FLAG_NEED_NODELIST, node_recovery, node_options},
 	{"md", "[disks]", "apAh", "See 'collie node md' for more information",
 	 node_md_cmd, SUBCMD_FLAG_NEED_ARG, node_md, node_options},
-- 
1.7.10.4




More information about the sheepdog mailing list