slight typo in md_docs.md

This commit is contained in:
Eric Paris 2015-05-13 08:38:33 -05:00
parent e659faf634
commit c11766b405

View file

@ -36,7 +36,7 @@ This will write the markdown doc for ONLY "cmd" into the out, buffer.
## 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
func GenMarkdownTreeCustom(cmd *Command, dir string, filePrepender func(string) string, linkHandler func(string) string) {
@ -78,4 +78,4 @@ linkHandler := func(name string) string {
return "/commands/" + strings.ToLower(base) + "/"
}
```