aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2025-03-13 09:11:16 -0700
committerchrislu <chris.lu@gmail.com>2025-03-13 09:11:16 -0700
commitc45b8bd6acdee91c8c1696dc7738cfc9a07784c8 (patch)
treeff56fdd71fc5b68de5b76dd9ebe452f5032cf8a1
parent537b3a8618a669c505fc58819e080d8255fcbfc5 (diff)
downloadseaweedfs-c45b8bd6acdee91c8c1696dc7738cfc9a07784c8.tar.xz
seaweedfs-c45b8bd6acdee91c8c1696dc7738cfc9a07784c8.zip
add more help message
fix https://github.com/seaweedfs/seaweedfs/issues/6625
-rw-r--r--weed/shell/shell_liner.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/shell/shell_liner.go b/weed/shell/shell_liner.go
index 1a4cabad8..00884700b 100644
--- a/weed/shell/shell_liner.go
+++ b/weed/shell/shell_liner.go
@@ -154,6 +154,7 @@ func printHelp(cmds []string) {
for _, c := range Commands {
if strings.ToLower(c.Name()) == cmd {
fmt.Printf(" %s\t# %s\n", c.Name(), c.Help())
+ fmt.Printf("use \"%s -h\" for more details\n", c.Name())
}
}
}