Merge branch 'master' into remove-flag-generation
This commit is contained in:
commit
35eb598d43
3
docs.go
3
docs.go
@ -57,6 +57,9 @@ func prepareCommands(commands []Command, level int) []string {
|
|||||||
coms := []string{}
|
coms := []string{}
|
||||||
for i := range commands {
|
for i := range commands {
|
||||||
command := &commands[i]
|
command := &commands[i]
|
||||||
|
if command.Hidden {
|
||||||
|
continue
|
||||||
|
}
|
||||||
usage := ""
|
usage := ""
|
||||||
if command.Usage != "" {
|
if command.Usage != "" {
|
||||||
usage = command.Usage
|
usage = command.Usage
|
||||||
|
Loading…
Reference in New Issue
Block a user