Skip to content

Commit

Permalink
Fix last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
kenshaw committed Nov 24, 2024
1 parent 9a68509 commit 3c3b857
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ func NewFlag(name, usage string, opts ...Option) (*Flag, error) {
return nil, err
}
}
if opts, ok := typeOpts[g.Type]; ok {
if opts, ok := typeFlagOpts[g.Type]; ok {
for _, o := range opts {
if err := o.apply(g); err != nil {
return nil, err
Expand Down

0 comments on commit 3c3b857

Please sign in to comment.