change "complete" to "shellComplete"

This commit is contained in:
Joshua Rubin
2016-11-14 09:35:22 -07:00
parent ea3df26e64
commit 8dd1962f7b
3 changed files with 7 additions and 7 deletions

View File

@@ -15,7 +15,7 @@ import (
type Context struct {
App *App
Command Command
complete bool
shellComplete bool
flagSet *flag.FlagSet
setFlags map[string]bool
parentContext *Context
@@ -26,7 +26,7 @@ func NewContext(app *App, set *flag.FlagSet, parentCtx *Context) *Context {
c := &Context{App: app, flagSet: set, parentContext: parentCtx}
if parentCtx != nil {
c.complete = parentCtx.complete
c.shellComplete = parentCtx.shellComplete
}
return c