@cryptotaxi247 / kubo / commits / 69ce2940a

commands/cli: Fixed helptext option type

Matt Bell committed Nov 19, 2014 at 00:54 UTC 69ce2940a826625bfa328f5375cdcd8c1690048c
1 file changed +1 -1
commands/cli/helptext.go
+1 -1
@@ -262,7 +262,7 @@ func optionText(cmd ...*cmds.Command) []string {
262
263 // add option types to output
264 for i, opt := range options {
265 - lines[i] += " " + fmt.Sprintf("%v", opt.Type)
265 + lines[i] += " " + fmt.Sprintf("%v", opt.Type())
266 }
267 lines = align(lines)
268