changed auto generation info line from header to italics

This commit is contained in:
Milan May'r 2023-10-25 12:33:08 -05:00
parent 4cafa37bc4
commit 4e1197edf1

View file

@ -108,7 +108,7 @@ func GenMarkdownCustom(cmd *cobra.Command, w io.Writer, linkHandler func(string)
buf.WriteString("\n") buf.WriteString("\n")
} }
if !cmd.DisableAutoGenTag { if !cmd.DisableAutoGenTag {
buf.WriteString("###### Auto generated by spf13/cobra on " + time.Now().Format("2-Jan-2006") + "\n") buf.WriteString("*Auto generated by spf13/cobra on " + time.Now().Format("2-Jan-2006") + "*\n")
} }
_, err := buf.WriteTo(w) _, err := buf.WriteTo(w)
return err return err