From 664d02f8ea4d5576cef1e3fcc9b18b72b0920f9d Mon Sep 17 00:00:00 2001 From: Samuel Lorch Date: Thu, 9 Sep 2021 09:29:43 +0200 Subject: [PATCH] Remove Doc Auto Gen Tag --- cmd/doc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/doc.go b/cmd/doc.go index aaaa4d8..8a43d23 100644 --- a/cmd/doc.go +++ b/cmd/doc.go @@ -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")