diff --git a/command.go b/command.go index b506b1ed..770dda10 100644 --- a/command.go +++ b/command.go @@ -357,8 +357,9 @@ func (c *Command) execute(a []string) (err error) { if err != nil { 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 }