From 632e09080525bfafe493aef4dc92c43baa5afc94 Mon Sep 17 00:00:00 2001 From: Eric Paris Date: Sat, 12 Sep 2015 00:21:31 -0400 Subject: [PATCH] If nothing after flags: sting print a newline --- command.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/command.go b/command.go index 96e14c46..3ccafcca 100644 --- a/command.go +++ b/command.go @@ -274,8 +274,8 @@ Global Flags: Additional help topics:{{range .Commands}}{{if .IsHelpCommand}} {{rpad .CommandPath .CommandPathPadding}} {{.Short}}{{end}}{{end}}{{end}}{{ if .HasSubCommands }} -Use "{{.CommandPath}} [command] --help" for more information about a command. -{{end}}` +Use "{{.CommandPath}} [command] --help" for more information about a command.{{end}} +` } }