Cleanup context.go

This commit is contained in:
Naveen Gogineni
2021-04-05 07:57:41 -04:00
parent 13ded1e7c4
commit 07e1fdf17d
21 changed files with 118 additions and 121 deletions

View File

@@ -127,7 +127,7 @@ func (c *Command) Run(ctx *Context) (err error) {
return nil
}
cerr := checkRequiredFlags(c.Flags, context)
cerr := context.checkRequiredFlags(c.Flags)
if cerr != nil {
_ = ShowCommandHelp(context, c.Name)
return cerr