mirror of https://github.com/spf13/cobra.git
slight typo in md_docs.md
This commit is contained in:
parent
e659faf634
commit
c11766b405
|
@ -36,7 +36,7 @@ This will write the markdown doc for ONLY "cmd" into the out, buffer.
|
||||||
|
|
||||||
## Customize the output
|
## Customize the output
|
||||||
|
|
||||||
Both `GenMarkdown` and `GenMarkdownTree` has alternate versions with callbacks to get some control of the output:
|
Both `GenMarkdown` and `GenMarkdownTree` have alternate versions with callbacks to get some control of the output:
|
||||||
|
|
||||||
```go
|
```go
|
||||||
func GenMarkdownTreeCustom(cmd *Command, dir string, filePrepender func(string) string, linkHandler func(string) string) {
|
func GenMarkdownTreeCustom(cmd *Command, dir string, filePrepender func(string) string, linkHandler func(string) string) {
|
||||||
|
|
Loading…
Reference in New Issue