Skip to content
Myr

If nothing after flags: sting print a newline

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

authored by Eric Paris · committed by Eric Paris · parent eeec8e3 · 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