mirror of
https://github.com/spf13/cobra
synced 2024-11-24 14:47:12 +00:00
Update doc/man_docs.md (#363)
This commit is contained in:
parent
6e91dded25
commit
6b74a60562
1 changed files with 2 additions and 2 deletions
|
@ -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`
|
||||
|
|
Loading…
Reference in a new issue