mirror of https://github.com/spf13/cobra.git
turn generated man pages non k8s specific.
Signed-off-by: António Meireles <antonio.meireles@reformi.st>
This commit is contained in:
parent
e4993076d8
commit
f5d2d93abf
|
@ -67,9 +67,7 @@ func (cmd *Command) GenMan(projectName string, out *bytes.Buffer) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func manPreamble(out *bytes.Buffer, projectName, name, short, long string) {
|
func manPreamble(out *bytes.Buffer, projectName, name, short, long string) {
|
||||||
fmt.Fprintf(out, `%% %s(1) kubernetes User Manuals
|
fmt.Fprintf(out, `%% %s(1)
|
||||||
%% Eric Paris
|
|
||||||
%% Jan 2015
|
|
||||||
# NAME
|
# NAME
|
||||||
`, projectName)
|
`, projectName)
|
||||||
fmt.Fprintf(out, "%s \\- %s\n\n", name, short)
|
fmt.Fprintf(out, "%s \\- %s\n\n", name, short)
|
||||||
|
|
Loading…
Reference in New Issue