diff --git a/cmd/ipfs/main.go b/cmd/ipfs/main.go index 8024471a2..da4946aac 100644 --- a/cmd/ipfs/main.go +++ b/cmd/ipfs/main.go @@ -116,7 +116,6 @@ func main() { } } - // ok now handle parse error (which means cli input was wrong, // e.g. incorrect number of args, or nonexistent subcommand) if parseErr != nil { diff --git a/commands/cli/helptext.go b/commands/cli/helptext.go index 9d607c0fd..f9ca4d127 100644 --- a/commands/cli/helptext.go +++ b/commands/cli/helptext.go @@ -14,8 +14,8 @@ const ( requiredArg = "<%v>" optionalArg = "[<%v>]" variadicArg = "%v..." - shortFlag = "-%v" - longFlag = "--%v" + shortFlag = "-%v" + longFlag = "--%v" optionType = "(%v)" whitespace = "\r\n\t "