v.24.3Improvement
clickhouse-client accepts --output-format as synonym for --format
Similarly toclickhouse-local,clickhouse-clientwill accept the--output-formatoption as a synonym to the--formatoption. This closes #59848. #61797 (Alexey Milovidov).
Why it matters
This feature provides consistency and convenience by allowing users to specify the output format using--output-format in clickhouse-client, matching the behavior of clickhouse-local. It solves confusion over parameter naming and improves user experience.How to use it
Simply use the--output-format option with clickhouse-client just like --format, for example:clickhouse-client --output-format=JSON