mirror of
https://github.com/spf13/cobra
synced 2025-05-06 05:17:21 +00:00
Generate markdown for help topics
This commit is contained in:
parent
b80588d523
commit
1605787112
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ func GenMarkdownCustom(cmd *cobra.Command, w io.Writer, linkHandler func(string)
|
|||
sort.Sort(byName(children))
|
||||
|
||||
for _, child := range children {
|
||||
if !child.IsAvailableCommand() || child.IsAdditionalHelpTopicCommand() {
|
||||
if !child.IsAvailableCommand() {
|
||||
continue
|
||||
}
|
||||
cname := name + " " + child.Name()
|
||||
|
|
Loading…
Add table
Reference in a new issue