Skip to content
Myr

fix manpage building with new go-md2man (#1255)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

This addresses #1049 by changing the format of the generated Markdown input.

authored by Sascha Steinbiss · committed by GitHub · parent f32f4ef · Browse files · 1 file+1 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−3 removed

  • other:+1 added−3 removed

1 file+1 added−3 removed

modified:doc/man_docs.go+1 added-3 removed
143 unmodified lines
144 if len(description) == 0 {145 description = cmd.Short146 }147148 buf.WriteString(fmt.Sprintf(`%% %s(%s)%s149%% %s150%% %s148 buf.WriteString(fmt.Sprintf(`%% "%s" "%s" "%s" "%s" "%s"149# NAME150`, header.Title, header.Section, header.date, header.Source, header.Manual))151 buf.WriteString(fmt.Sprintf("%s \\- %s\n\n", dashedName, cmd.Short))152 buf.WriteString("# SYNOPSIS\n")
93 unmodified lines