Merge pull request #889 from crosbymichael/hidden-man

Don't output hidden commands for  man pages
main
Audrius Butkevicius 5 years ago committed by GitHub
commit b207e20873
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -57,6 +57,9 @@ func prepareCommands(commands []Command, level int) []string {
coms := []string{}
for i := range commands {
command := &commands[i]
if command.Hidden {
continue
}
usage := ""
if command.Usage != "" {
usage = command.Usage

Loading…
Cancel
Save