v.24.3Improvement

clickhouse-client accepts --output-format as synonym for --format

Similarly to clickhouse-local, clickhouse-client will accept the --output-format option as a synonym to the --format option. This closes #59848. #61797 (Alexey Milovidov).
clickhouse-client now supports the --output-format option as a synonym for --format, similar to clickhouse-local.

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