Remove Doc Auto Gen Tag

This commit is contained in:
Samuel Lorch 2021-09-09 09:29:43 +02:00
parent 08cb902aad
commit 664d02f8ea

View file

@ -16,7 +16,7 @@ var genDocCmd = &cobra.Command{
if err != nil {
return err
}
cmd.DisableAutoGenTag = true
rootCmd.DisableAutoGenTag = true
switch docType {
case "markdown":
return doc.GenMarkdownTree(rootCmd, "doc")