Merge pull request #52 from kytrinyx/float-flag-doc-typo

Fix typo in godoc for Float64
main
Jeremy Saenz 11 years ago
commit 5e1854f702

@ -27,7 +27,7 @@ func (c *Context) Int(name string) int {
return lookupInt(name, c.flagSet) return lookupInt(name, c.flagSet)
} }
// Looks up the value of a local float64 flag, returns 0 if no int flag exists // Looks up the value of a local float64 flag, returns 0 if no float64 flag exists
func (c *Context) Float64(name string) float64 { func (c *Context) Float64(name string) float64 {
return lookupFloat64(name, c.flagSet) return lookupFloat64(name, c.flagSet)
} }

Loading…
Cancel
Save