mirror of
https://github.com/ipfs/kubo.git
synced 2025-08-06 19:44:01 +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
|
// add option types to output
|
||||||
for i, opt := range options {
|
for i, opt := range options {
|
||||||
lines[i] += " " + fmt.Sprintf("%v", opt.Type)
|
lines[i] += " " + fmt.Sprintf("%v", opt.Type())
|
||||||
}
|
}
|
||||||
lines = align(lines)
|
lines = align(lines)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user