Skip to content
Myr

Merge pull request #154 from eparis/fix-trailing-newline

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

If nothing after flags: sting print a newline

authored by Eric Paris · committed by Eric Paris · parents eeec8e3, 632e090 · Browse files · 1 file+2 added−2 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+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:command.go+2 added-2 removed
272 unmodified lines
273274Additional help topics:{{range .Commands}}{{if .IsHelpCommand}}275 {{rpad .CommandPath .CommandPathPadding}} {{.Short}}{{end}}{{end}}{{end}}{{ if .HasSubCommands }}276277Use "{{.CommandPath}} [command] --help" for more information about a command.278{{end}}`277Use "{{.CommandPath}} [command] --help" for more information about a command.{{end}}278`279 }280}281282func (c *Command) HelpTemplate() string {
833 unmodified lines