提交 e7830554 作者: Tommi Virtanen

gofmt

上级 a0af9f5e
...@@ -116,7 +116,6 @@ func main() { ...@@ -116,7 +116,6 @@ func main() {
} }
} }
// ok now handle parse error (which means cli input was wrong, // ok now handle parse error (which means cli input was wrong,
// e.g. incorrect number of args, or nonexistent subcommand) // e.g. incorrect number of args, or nonexistent subcommand)
if parseErr != nil { if parseErr != nil {
......
...@@ -14,8 +14,8 @@ const ( ...@@ -14,8 +14,8 @@ const (
requiredArg = "<%v>" requiredArg = "<%v>"
optionalArg = "[<%v>]" optionalArg = "[<%v>]"
variadicArg = "%v..." variadicArg = "%v..."
shortFlag = "-%v" shortFlag = "-%v"
longFlag = "--%v" longFlag = "--%v"
optionType = "(%v)" optionType = "(%v)"
whitespace = "\r\n\t " whitespace = "\r\n\t "
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论