aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_volume_list.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@uber.com>2019-03-23 11:54:26 -0700
committerChris Lu <chris.lu@uber.com>2019-03-23 11:54:26 -0700
commitbd1c0735e0bc3bf7a24ec948372b72a4a9652d03 (patch)
tree0cd37c6688a45e0998f178e53185eea4004a7bca /weed/shell/command_volume_list.go
parent6b70b3610530d9b3637fd4179a0f2cecc5541fdd (diff)
downloadseaweedfs-bd1c0735e0bc3bf7a24ec948372b72a4a9652d03.tar.xz
seaweedfs-bd1c0735e0bc3bf7a24ec948372b72a4a9652d03.zip
weed shell: adjust help text format
Diffstat (limited to 'weed/shell/command_volume_list.go')
-rw-r--r--weed/shell/command_volume_list.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/weed/shell/command_volume_list.go b/weed/shell/command_volume_list.go
index 5be5be569..f3f843d58 100644
--- a/weed/shell/command_volume_list.go
+++ b/weed/shell/command_volume_list.go
@@ -19,7 +19,11 @@ func (c *commandVolumeList) Name() string {
}
func (c *commandVolumeList) Help() string {
- return "# list all volumes"
+ return `list all volumes
+
+ This command list all volumes as a tree of dataCenter > rack > dataNode > volume.
+
+`
}
func (c *commandVolumeList) Do(args []string, commandEnv *commandEnv, writer io.Writer) (err error) {