aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_fs_du.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_fs_du.go
parent6b70b3610530d9b3637fd4179a0f2cecc5541fdd (diff)
downloadseaweedfs-bd1c0735e0bc3bf7a24ec948372b72a4a9652d03.tar.xz
seaweedfs-bd1c0735e0bc3bf7a24ec948372b72a4a9652d03.zip
weed shell: adjust help text format
Diffstat (limited to 'weed/shell/command_fs_du.go')
-rw-r--r--weed/shell/command_fs_du.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/weed/shell/command_fs_du.go b/weed/shell/command_fs_du.go
index cdc9d98ef..1206596b0 100644
--- a/weed/shell/command_fs_du.go
+++ b/weed/shell/command_fs_du.go
@@ -25,7 +25,12 @@ func (c *commandFsDu) Name() string {
}
func (c *commandFsDu) Help() string {
- return "http://<filer_server>:<port>/dir[/file] # show disk usage"
+ return `show disk usage
+
+ fs.du http://<filer_server>:<port>/dir
+ fs.du http://<filer_server>:<port>/dir/file_name
+ fs.du http://<filer_server>:<port>/dir/file_prefix
+`
}
func (c *commandFsDu) Do(args []string, commandEnv *commandEnv, writer io.Writer) (err error) {