cli: fix type in flags.Fixed8FromContext
This commit is contained in:
parent
f84008437e
commit
7310666479
1 changed files with 1 additions and 1 deletions
|
@ -71,5 +71,5 @@ func (f Fixed8Flag) Apply(set *flag.FlagSet) {
|
|||
|
||||
// Fixed8FromContext returns parsed util.Fixed8 value provided flag name.
|
||||
func Fixed8FromContext(ctx *cli.Context, name string) util.Fixed8 {
|
||||
return ctx.Generic(name).(*Fixed8Flag).Value.Fixed8()
|
||||
return ctx.Generic(name).(*Fixed8).Value
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue