1
0
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:
Matt Bell
2014-11-19 00:54:59 -08:00
parent 9de01007d0
commit 69ce2940a8

View File

@ -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)