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


##########
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: 
json, text)", args.Output)

Review Comment:
   the value can also come from the config file `catalog.<name>.otuput`, and 
then this names `--output` -> a flag that was never passed by user
   
   better: drop the flag name



-- 
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