From 36933923d42adb1c80ce88aca02489a3bdcb8852 Mon Sep 17 00:00:00 2001 From: Nick Taylor Date: Thu, 5 Sep 2024 12:31:37 -0400 Subject: [PATCH] now all autogen tagging is disabled for doc generation --- cmd/docs/docs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/docs/docs.go b/cmd/docs/docs.go index 84c569a..86f4bc5 100644 --- a/cmd/docs/docs.go +++ b/cmd/docs/docs.go @@ -24,7 +24,7 @@ func NewDocsCommand() *cobra.Command { Short: "Generates the documentation for the CLI", Args: cobra.MaximumNArgs(1), RunE: func(cmd *cobra.Command, args []string) error { - cmd.DisableAutoGenTag = true + cmd.Parent().Root().DisableAutoGenTag = true // Use default path if no argument is provided if len(args) == 0 {