aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gen_docs.go
diff options
context:
space:
mode:
Diffstat (limited to 'doc/gen_docs.go')
-rw-r--r--doc/gen_docs.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/gen_docs.go b/doc/gen_docs.go
index 31960b65..83997488 100644
--- a/doc/gen_docs.go
+++ b/doc/gen_docs.go
@@ -62,7 +62,7 @@ func genManPage() error {
}
}
- return doc.GenManTree(commands.RootCmd, header, dir)
+ return doc.GenManTree(commands.NewRootCommand(), header, dir)
}
func genMarkdown() error {
@@ -79,5 +79,5 @@ func genMarkdown() error {
}
}
- return doc.GenMarkdownTree(commands.RootCmd, dir)
+ return doc.GenMarkdownTree(commands.NewRootCommand(), dir)
}