mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
better
This commit is contained in:
parent
c1fa34a9af
commit
0cfb8b94cd
@ -1295,6 +1295,8 @@ int main(int argc, const char *argv[])
|
||||
freopen(vm["input"].as<std::string>().c_str(), "r", stdin);
|
||||
if (vm.count("output"))
|
||||
freopen(vm["output"].as<std::string>().c_str(), "w", stdout);
|
||||
if (vm.empty())
|
||||
std::cout << "Copy your queries (with semicolons) here, press Enter and Ctrl+D." << std::endl;
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user