diff --git a/command.go b/command.go index 7b2cf7d..2b28929 100644 --- a/command.go +++ b/command.go @@ -369,8 +369,9 @@ func (c *Command) execute(a []string) (err error) { r.SetOutput(out) return err } else { - // If help is called, regardless of other flags, we print that - if c.helpFlagVal { + // If help is called, regardless of other flags, we print that. + // Print help also if c.Run is nil. + if c.helpFlagVal || !c.Runnable() { c.Help() return nil }