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

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