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

Method processCommandLineArguments

programs/disks/ICommand.cpp:13–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11}
12
13CommandLineOptions ICommand::processCommandLineArguments(const Strings & arguments)
14{
15 CommandLineOptions options;
16 auto parser = po::command_line_parser(arguments);
17 parser.options(options_description).positional(positional_options_description);
18
19 po::parsed_options parsed = parser.run();
20 po::store(parsed, options);
21
22 return options;
23}
24
25void ICommand::execute(const Strings & arguments, DisksClient & client)
26{

Callers

nothing calls this directly

Calls 3

storeFunction · 0.85
optionsMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected