mirror of
https://github.com/spf13/cobra
synced 2024-11-24 14:47:12 +00:00
Merge pull request #132 from AntonioMeireles/unbrand-man
turn generated man pages non k8s specific.
This commit is contained in:
commit
7cd6c9c000
1 changed files with 1 additions and 3 deletions
|
@ -67,9 +67,7 @@ func (cmd *Command) GenMan(projectName string, out *bytes.Buffer) {
|
|||
}
|
||||
|
||||
func manPreamble(out *bytes.Buffer, projectName, name, short, long string) {
|
||||
fmt.Fprintf(out, `%% %s(1) kubernetes User Manuals
|
||||
%% Eric Paris
|
||||
%% Jan 2015
|
||||
fmt.Fprintf(out, `%% %s(1)
|
||||
# NAME
|
||||
`, projectName)
|
||||
fmt.Fprintf(out, "%s \\- %s\n\n", name, short)
|
||||
|
|
Loading…
Reference in a new issue