aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--weed/shell/shell_liner.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/shell_liner.go b/weed/shell/shell_liner.go
index 3e55cc88e..28672c17c 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())
}
}