weed shell: adjust help text format

This commit is contained in:
Chris Lu
2019-03-23 11:54:26 -07:00
parent 6b70b36105
commit bd1c0735e0
5 changed files with 21 additions and 8 deletions

View File

@@ -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) {