mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
17 lines
551 B
C++
17 lines
551 B
C++
#pragma once
|
|
|
|
#include <Poco/Util/Application.h>
|
|
#include <string>
|
|
#include <unordered_set>
|
|
|
|
namespace Poco::Util
|
|
{
|
|
class LayeredConfiguration; // NOLINT(cppcoreguidelines-virtual-class-destructor)
|
|
}
|
|
|
|
/// Import extra command line arguments to configuration. These are command line arguments after --.
|
|
void argsToConfig(const Poco::Util::Application::ArgVec & argv,
|
|
Poco::Util::LayeredConfiguration & config,
|
|
int priority,
|
|
const std::unordered_set<std::string>* registered_alias_names = nullptr);
|