mirror of
https://github.com/spf13/cobra
synced 2024-11-24 14:47:12 +00:00
doc: Add a necessary blank line after SEE ALSO (#592)
Signed-off-by: Allen Sun <shlallen1990@gmail.com>
This commit is contained in:
parent
45a52e208c
commit
3a5f27b046
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ func GenMarkdownCustom(cmd *cobra.Command, w io.Writer, linkHandler func(string)
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if hasSeeAlso(cmd) {
|
if hasSeeAlso(cmd) {
|
||||||
buf.WriteString("### SEE ALSO\n")
|
buf.WriteString("### SEE ALSO\n\n")
|
||||||
if cmd.HasParent() {
|
if cmd.HasParent() {
|
||||||
parent := cmd.Parent()
|
parent := cmd.Parent()
|
||||||
pname := parent.CommandPath()
|
pname := parent.CommandPath()
|
||||||
|
|
Loading…
Reference in a new issue