MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / defineOptions

Method defineOptions

programs/server/Server.cpp:747–760  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

745}
746
747void Server::defineOptions(Poco::Util::OptionSet & options)
748{
749 options.addOption(
750 Poco::Util::Option("help", "h", "show help and exit")
751 .required(false)
752 .repeatable(false)
753 .binding("help"));
754 options.addOption(
755 Poco::Util::Option("version", "V", "show version and exit")
756 .required(false)
757 .repeatable(false)
758 .binding("version"));
759 BaseDaemon::defineOptions(options);
760}
761
762
763[[maybe_unused]] static void checkForUsersNotInMainConfig(

Callers

nothing calls this directly

Calls 4

addOptionMethod · 0.80
repeatableMethod · 0.80
requiredMethod · 0.80
OptionClass · 0.50

Tested by

no test coverage detected