From 8f9b8c7cbac4c95c43fe4dcfea607a6a942acf40 Mon Sep 17 00:00:00 2001 From: Eric Paris Date: Tue, 1 Sep 2015 11:25:13 -0400 Subject: [PATCH] Remove spurious } from the help template --- command.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command.go b/command.go index 7b0e399..191fdc8 100644 --- a/command.go +++ b/command.go @@ -270,7 +270,7 @@ Global Flags: {{.InheritedFlags.FlagUsages}}{{end}}{{if .HasHelpSubCommands}} 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. {{end}}`