diff options
| author | Joseph Richey <joerichey94@gmail.com> | 2017-09-29 02:08:56 -0700 |
|---|---|---|
| committer | Joseph Richey <joerichey94@gmail.com> | 2017-09-29 02:33:45 -0700 |
| commit | 05911d5503434a802c6dc9909a74cc76c2bf6661 (patch) | |
| tree | e1e7aa0ba09dcc4b4c56b28429d1f6f288bba03b /vendor/github.com/urfave/cli/context.go | |
| parent | a949b13dac670014c37c7181e368b9c0c7a7f0f5 (diff) | |
vendor: Update to latest versions
This changes the vendored sources of github.com/golang/protobuf,
golang.org/x/crypto/ssh, and golang.org/x/sys/unix to be the current
master versions.
Diffstat (limited to 'vendor/github.com/urfave/cli/context.go')
| -rw-r--r-- | vendor/github.com/urfave/cli/context.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vendor/github.com/urfave/cli/context.go b/vendor/github.com/urfave/cli/context.go index cb89e92..db94191 100644 --- a/vendor/github.com/urfave/cli/context.go +++ b/vendor/github.com/urfave/cli/context.go @@ -39,11 +39,13 @@ func (c *Context) NumFlags() int { // Set sets a context flag to a value. func (c *Context) Set(name, value string) error { + c.setFlags = nil return c.flagSet.Set(name, value) } // GlobalSet sets a context flag to a value on the global flagset func (c *Context) GlobalSet(name, value string) error { + globalContext(c).setFlags = nil return globalContext(c).flagSet.Set(name, value) } |