If nothing after flags: sting print a newline

This commit is contained in:
Eric Paris 2015-09-12 00:21:31 -04:00
parent eeec8e3ce3
commit 632e090805
1 changed files with 2 additions and 2 deletions

View File

@ -274,8 +274,8 @@ Global Flags:
Additional help topics:{{range .Commands}}{{if .IsHelpCommand}} Additional help topics:{{range .Commands}}{{if .IsHelpCommand}}
{{rpad .CommandPath .CommandPathPadding}} {{.Short}}{{end}}{{end}}{{end}}{{ if .HasSubCommands }} {{rpad .CommandPath .CommandPathPadding}} {{.Short}}{{end}}{{end}}{{end}}{{ if .HasSubCommands }}
Use "{{.CommandPath}} [command] --help" for more information about a command. Use "{{.CommandPath}} [command] --help" for more information about a command.{{end}}
{{end}}` `
} }
} }