Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

make help command in shell case insensitive

Amir H. Yeganemehrb05d682c4819
diff --git a/weed/shell/shell_liner.go b/weed/shell/shell_liner.go
index 3e55cc88e4..28672c17cb 100644
--- a/weed/shell/shell_liner.go
+++ b/weed/shell/shell_liner.go
@@ -170,7 +170,7 @@ func printHelp(cmds []string) {
cmd := strings.ToLower(args[0])
for _, c := range Commands {
- if c.Name() == cmd {
+ if strings.ToLower(c.Name()) == cmd {
fmt.Printf(" %s\t# %s\n", c.Name(), c.Help())
}
}