mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-11-10 12:26:13 +08:00
add more help message
fix https://github.com/seaweedfs/seaweedfs/issues/6625
This commit is contained in:
@@ -154,6 +154,7 @@ func printHelp(cmds []string) {
|
|||||||
for _, c := range Commands {
|
for _, c := range Commands {
|
||||||
if strings.ToLower(c.Name()) == cmd {
|
if strings.ToLower(c.Name()) == cmd {
|
||||||
fmt.Printf(" %s\t# %s\n", c.Name(), c.Help())
|
fmt.Printf(" %s\t# %s\n", c.Name(), c.Help())
|
||||||
|
fmt.Printf("use \"%s -h\" for more details\n", c.Name())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user