Merge pull request #24449 from vdimir/CLICKHOUSE-5062

Fix cli argument in clickhouse-server.init
This commit is contained in:
alexey-milovidov 2021-05-25 03:20:26 +03:00 committed by GitHub
commit ea97eee326
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -983,7 +983,7 @@ int mainEntryClickHouseStop(int argc, char ** argv)
desc.add_options()
("help,h", "produce help message")
("pid-path", po::value<std::string>()->default_value("/var/run/clickhouse-server"), "directory for pid file")
("force", po::value<bool>()->default_value(false), "Stop with KILL signal instead of TERM")
("force", po::bool_switch(), "Stop with KILL signal instead of TERM")
;
po::variables_map options;