From b6faef729ead6f165684250d4e7fbefc949998a5 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 82368e26..458ad74d 100644 --- a/command.go +++ b/command.go @@ -212,9 +212,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}}