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

Method applyCmdOptions

programs/local/LocalServer.cpp:1778–1782  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1776
1777
1778void LocalServer::applyCmdOptions(ContextMutablePtr context)
1779{
1780 context->setDefaultFormat(getClientConfiguration().getString("output-format", getClientConfiguration().getString("format", is_interactive ? "PrettyCompact" : "TSV")));
1781 applyCmdSettings(context);
1782}
1783
1784
1785void LocalServer::processOptions(const OptionsDescription &, const CommandLineOptions & options, const std::vector<Arguments> &, const std::vector<Arguments> &)

Callers

nothing calls this directly

Calls 2

setDefaultFormatMethod · 0.80
getStringMethod · 0.45

Tested by

no test coverage detected