mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Fixed #5335. clickhouse-local. Print help if no arguments are passed
This commit is contained in:
parent
f055239cde
commit
03f0909552
@ -443,7 +443,7 @@ void LocalServer::init(int argc, char ** argv)
|
||||
exit(0);
|
||||
}
|
||||
|
||||
if (options.count("help"))
|
||||
if (options.empty() || options.count("help"))
|
||||
{
|
||||
std::cout << getHelpHeader() << "\n";
|
||||
std::cout << description << "\n";
|
||||
|
Loading…
Reference in New Issue
Block a user