weed shell: adjust help text format

This commit is contained in:
Chris Lu committed 2019-03-23 11:54:26 -07:00
1 parent 6b70b36105
commit bd1c0735e0
5 files changed
+21 -8

No files matched your search

+5 -1
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) {