cli: Rectify grammar in the "Usage" of "rebalance" command

Problem: Currently Usage of rebalance command is : " Usage: volume rebalance
<VOLNAME> [fix-layout] {start|stop|status} [force] "

1) "force" option can be only used with "start" .

2) "fix-layout" option can be only used with "start"

But the current usage says "fix-layout" operation can be stopped and can get the
status of "fix-layout" operation and also "stop" ,"status" operation can be used
with "force" option which is not correct.

Change-Id: I48e6c64c124f5803c8f09c78df0e14dc2b6a348a
BUG: 1071411
Signed-off-by: Susant Palai <spalai@redhat.com>
Reviewed-on: http://review.gluster.org/7172
Reviewed-by: Anand Avati <avati@redhat.com>
Tested-by: Anand Avati <avati@redhat.com>
This commit is contained in:
Susant Palai 2014-02-28 17:19:43 +00:00 committed by Anand Avati
parent d11d3f877d
commit ee150bd45e

View File

@ -2296,7 +2296,7 @@ struct cli_cmd volume_cmds[] = {
cli_cmd_volume_remove_brick_cbk,
"remove brick from volume <VOLNAME>"},
{ "volume rebalance <VOLNAME> [fix-layout] {start|stop|status} [force]",
{ "volume rebalance <VOLNAME> {{fix-layout start} | {start [force]|stop|status}}",
cli_cmd_volume_defrag_cbk,
"rebalance operations"},