Generate markdown for help topics

This commit is contained in:
Mark Scannell 2019-09-02 21:51:00 +01:00
parent b80588d523
commit 1605787112

View file

@ -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()