Update doc/man_docs.md (#363)

This commit is contained in:
Julien Kassar 2016-11-15 09:16:05 -05:00 committed by Eric Paris
parent 6e91dded25
commit 6b74a60562
1 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ func main() {
Use: "test", Use: "test",
Short: "my test program", Short: "my test program",
} }
header := &cobra.GenManHeader{ header := &doc.GenManHeader{
Title: "MINE", Title: "MINE",
Section: "3", 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`