Use new mapper function name
This commit is contained in:
parent
2cc1ba75ce
commit
b2cf6ed9bf
@ -187,7 +187,7 @@ func Commands(
|
||||
for i := 0; i < len(result.Commands); i++ {
|
||||
n := result.Commands[i]
|
||||
|
||||
flgs, _ := core.ProtoToFlagsMapper(n.Flags)
|
||||
flgs, _ := core.FlagOption(n.Flags)
|
||||
if _, ok := commands[n.Name]; !ok {
|
||||
commands[n.Name] = func() (cli.Command, error) {
|
||||
return &DynamicCommand{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user