mirror of
https://github.com/ipfs/kubo.git
synced 2025-09-16 04:02:05 +08:00
commands/cli: Fixed helptext option type
This commit is contained in:
@ -262,7 +262,7 @@ func optionText(cmd ...*cmds.Command) []string {
|
||||
|
||||
// add option types to output
|
||||
for i, opt := range options {
|
||||
lines[i] += " " + fmt.Sprintf("%v", opt.Type)
|
||||
lines[i] += " " + fmt.Sprintf("%v", opt.Type())
|
||||
}
|
||||
lines = align(lines)
|
||||
|
||||
|
Reference in New Issue
Block a user