[Ocfs2-tools-devel] [PATCH 6/8] o2cbtool: Silence usage in list-clusters
Sunil Mushran
sunil.mushran at oracle.com
Thu Jun 23 15:17:49 PDT 2011
Do not always show usage when processing list-clusters
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
---
o2cb_ctl/op_lists.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/o2cb_ctl/op_lists.c b/o2cb_ctl/op_lists.c
index 2d47776..a21980b 100644
--- a/o2cb_ctl/op_lists.c
+++ b/o2cb_ctl/op_lists.c
@@ -180,6 +180,8 @@ errcode_t o2cbtool_list_clusters(struct o2cb_command *cmd)
if (!iter)
return -1;
+ cmd->o_print_usage = 0;
+
while (j_iterator_has_more(iter)) {
cluster = j_iterator_get_next(iter);
clustername = o2cb_cluster_get_name(cluster);
--
1.7.4.1
More information about the Ocfs2-tools-devel
mailing list