Resolve remaining test errors for v1 => v2 merge

This commit is contained in:
Dan Buch
2017-08-12 22:02:54 -04:00
parent ce3a0da1a3
commit 65b801c818
7 changed files with 96 additions and 93 deletions

View File

@@ -121,7 +121,7 @@ func (c *Context) Lineage() []*Context {
return lineage
}
// value returns the value of the flag coressponding to `name`
// value returns the value of the flag corresponding to `name`
func (c *Context) value(name string) interface{} {
return c.flagSet.Lookup(name).Value.(flag.Getter).Get()
}