mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
make help command in shell case insensitive
This commit is contained in:
parent
27b34f3793
commit
b05d682c48
|
@ -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())
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue