From 69ce2940a826625bfa328f5375cdcd8c1690048c Mon Sep 17 00:00:00 2001 From: Matt Bell Date: Wed, 19 Nov 2014 00:54:59 -0800 Subject: [PATCH] commands/cli: Fixed helptext option type --- commands/cli/helptext.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)