From c72b3f13452fcd9289230516f67d7c07951a8d5c Mon Sep 17 00:00:00 2001 From: kshithijiyer Date: Fri, 28 Jun 2019 15:32:31 +0530 Subject: Removing one top command from gluster v help The current help show 2 different top commands intead of one single top command which can be easily observed when "# gluster v help" command is issued. Removing one "volume top " and clubbing into them into a single command. Current help: volume top {open|read|write|opendir|readdir|clear} [nfs|brick ] [list-cnt ] | volume top {read-perf|write-perf} [bs count ] [brick ] [list-cnt ] - volume top operations Expected help: volume top {open|read|write|opendir|readdir|clear} [nfs|brick ] [list-cnt ] | {read-perf|write-perf} [bs count ] [brick ] [list-cnt ] - volume top operations fixes: bz#1725034 Change-Id: Ifbc4c95f2558286e27dfc5e9667046b80eb1715d Signed-off-by: kshithijiyer --- cli/src/cli-cmd-volume.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/src/cli-cmd-volume.c b/cli/src/cli-cmd-volume.c index c6f08985b12..819faa0ca63 100644 --- a/cli/src/cli-cmd-volume.c +++ b/cli/src/cli-cmd-volume.c @@ -3077,8 +3077,8 @@ struct cli_cmd volume_cmds[] = { cli_cmd_volume_profile_cbk, "volume profile operations"}, {"volume top {open|read|write|opendir|readdir|clear} [nfs|brick " - "] [list-cnt ] |\n" - "volume top {read-perf|write-perf} [bs count ] " + "] [list-cnt ] | " + "{read-perf|write-perf} [bs count ] " "[brick ] [list-cnt ]", cli_cmd_volume_top_cbk, "volume top operations"}, -- cgit