Browse Source

adjust help message

pull/991/head
Chris Lu 6 years ago
parent
commit
0e49add2bc
  1. 2
      weed/shell/command_ec_balance.go
  2. 2
      weed/shell/command_ec_rebuild.go
  3. 2
      weed/shell/command_volume_balance.go

2
weed/shell/command_ec_balance.go

@ -26,7 +26,7 @@ func (c *commandEcBalance) Name() string {
func (c *commandEcBalance) Help() string {
return `balance all ec shards among volume servers
ec.balance [-c EACH_COLLECTION|<collection_name>] [-f] [-dataCenter <data_center>]
ec.balance [-c EACH_COLLECTION|<collection_name>] [-force] [-dataCenter <data_center>]
Algorithm:

2
weed/shell/command_ec_rebuild.go

@ -27,7 +27,7 @@ func (c *commandEcRebuild) Name() string {
func (c *commandEcRebuild) Help() string {
return `find and rebuild missing ec shards among volume servers
ec.rebuild [-c EACH_COLLECTION|<collection_name>] [-f]
ec.rebuild [-c EACH_COLLECTION|<collection_name>] [-force]
Algorithm:

2
weed/shell/command_volume_balance.go

@ -28,7 +28,7 @@ func (c *commandVolumeBalance) Name() string {
func (c *commandVolumeBalance) Help() string {
return `balance all volumes among volume servers
volume.balance [-c ALL|EACH_COLLECTION|<collection_name>] [-f] [-dataCenter=<data_center_name>]
volume.balance [-c ALL|EACH_COLLECTION|<collection_name>] [-force] [-dataCenter=<data_center_name>]
Algorithm:

Loading…
Cancel
Save