zeroshade commented on code in PR #2710:
URL: https://github.com/apache/iceberg-go/pull/2710#discussion_r4722054738


##########
cmd/iceberg/main.go:
##########
@@ -298,7 +298,7 @@ func main() {
        case "json":
                output = jsonOutput{}
        default:
-               logFatal("unimplemented output type")
+               logFatalf("unsupported --output value %q (supported values: 
text, json)", args.Output)

Review Comment:
   nit (optional): `text, json` is written out here separately from the `case` 
labels above, so a future output type could be added without updating this 
message. That's fine with two values. Separately, the `--output` help text says 
`json/text`. Using the same order in both places would be a bit tidier.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to