mirror of
https://github.com/hanzoai/datastore.git
synced 2026-09-26 13:55:07 +00:00
This commit improves the help output for all ClickHouse applications: - Add `clickhouse help` command that lists all available subcommands - Return exit code 0 for all help messages (previously some returned 1) - Output help messages to stdout instead of stderr - Use "clickhouse <cmd>" format instead of argv[0] in help messages - Add dynamic `app_name` detection for `clickhouse client` and `clickhouse local` to show correct invocation name based on how the binary was called - Add `--no-sudo` option for `clickhouse start` and `clickhouse restart` for environments without sudo (e.g., Docker containers) - Add detailed help headers and footers for client and local with usage examples Closes #58244 Co-Authored-By: Claude Opus 4.5 <[email protected]>