diff --git a/command.go b/command.go index 256137f..a7d9088 100644 --- a/command.go +++ b/command.go @@ -248,7 +248,7 @@ func (c *Command) HelpTemplate() string { if c.HasParent() { return c.parent.HelpTemplate() } else { - return `{{.Long | trim}} + return `{{with or .Long .Short }}{{. | trim}}{{end}} {{if or .Runnable .HasSubCommands}}{{.UsageString}}{{end}} ` }