提交 69ce2940 作者: Matt Bell

commands/cli: Fixed helptext option type

上级 9de01007
......@@ -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)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论