diff --git a/doc/man_docs.md b/doc/man_docs.md index 5fe957a3..d568d9a0 100644 --- a/doc/man_docs.md +++ b/doc/man_docs.md @@ -15,7 +15,7 @@ func main() { Use: "test", Short: "my test program", } - header := &cobra.GenManHeader{ + header := &doc.GenManHeader{ Title: "MINE", Section: "3", } @@ -23,4 +23,4 @@ func main() { } ``` -That will get you a man page `/tmp/test.1` +That will get you a man page `/tmp/test.3`