1
0
Fork 0
mirror of https://github.com/spf13/cobra synced 2025-04-04 22:09:11 +00:00
This commit is contained in:
Milan Aleks 2025-03-21 21:51:23 -04:00 committed by GitHub
commit cb99470e52
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -110,7 +110,7 @@ func GenMarkdownCustom(cmd *cobra.Command, w io.Writer, linkHandler func(string)
buf.WriteString("\n")
}
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)
return err