From e784a5991089b1209b46c73889ddc34fa9660a0f Mon Sep 17 00:00:00 2001 From: Jason Moiron Date: Sat, 14 Mar 2015 19:44:58 +0000 Subject: [PATCH] fix missing newline in help output introduced in bf480fe628 --- command.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/command.go b/command.go index f1c1b74..256137f 100644 --- a/command.go +++ b/command.go @@ -220,9 +220,11 @@ Usage: {{if .Runnable}} Aliases: {{.NameAndAliases}} {{end}}{{if .HasExample}} + Examples: {{ .Example }} {{end}}{{ if .HasSubCommands}} + Available Commands: {{range .Commands}}{{if .Runnable}} {{rpad .Name .NamePadding }} {{.Short}}{{end}}{{end}} {{end}}