diff --git a/context.go b/context.go index 4d8c023..4fe9568 100644 --- a/context.go +++ b/context.go @@ -24,11 +24,7 @@ type Context struct { // NewContext creates a new context. For use in when invoking an App or Command action. func NewContext(app *App, set *flag.FlagSet, parentCtx *Context) *Context { - c := &Context{ - App: app, - flagSet: set, - parentContext: parentCtx, - } + c := &Context{App: app, flagSet: set, parentContext: parentCtx} if parentCtx != nil { c.Context = parentCtx.Context