diff --git a/commands/cli/helptext.go b/commands/cli/helptext.go index 2563dc8e2..32cbb7076 100644 --- a/commands/cli/helptext.go +++ b/commands/cli/helptext.go @@ -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)