From 25053c9bdaf16f150815fb99f725bd037a49e97e Mon Sep 17 00:00:00 2001 From: M S Vishwanath Bhat Date: Thu, 21 Mar 2013 18:51:57 +0530 Subject: cli: Made volume top help string clear nfs option is not applicable for read-perf and write-perf nfs option and brick option can not be used in same command Change-Id: I920ba0de011df0cc5e0adca6597aaea9372fe592 BUG: 924335 Signed-off-by: M S Vishwanath Bhat Reviewed-on: http://review.gluster.org/4706 Reviewed-by: Krishnan Parthasarathi Reviewed-by: Raghavendra Talur Tested-by: Gluster Build System Reviewed-by: Vijay Bellur --- cli/src/cli-cmd-volume.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'cli/src') diff --git a/cli/src/cli-cmd-volume.c b/cli/src/cli-cmd-volume.c index 80fe69753..de7adfe8f 100644 --- a/cli/src/cli-cmd-volume.c +++ b/cli/src/cli-cmd-volume.c @@ -1866,7 +1866,7 @@ struct cli_cmd volume_cmds[] = { cli_cmd_check_gsync_exists_cbk}, #endif - { "volume profile {start|info|stop} [nfs]", + { "volume profile {start|stop|info [nfs]}", cli_cmd_volume_profile_cbk, "volume profile operations"}, @@ -1874,9 +1874,8 @@ struct cli_cmd volume_cmds[] = { cli_cmd_quota_cbk, "quota translator specific operations"}, - { "volume top {[open|read|write|opendir|readdir [nfs]] " - "|[read-perf|write-perf [nfs|{bs count }]]" - "|[clear [nfs]]} [brick ] [list-cnt ]", + { "volume top {open|read|write|opendir|readdir|clear} [nfs|brick ] [list-cnt ] |\n" + "volume top {read-perf|write-perf} [bs count ] [brick ] [list-cnt ]", cli_cmd_volume_top_cbk, "volume top operations"}, -- cgit