ClickHouse/base/common/argsToConfig.h
Ivan 38b2dec354
Arcadia (#9729)
* Move getFQDNOrHostName to base/common/
* Add argsToConfig to ya.make
* Add coverage.cpp to ya.make
  Also remove WITH_COVERAGE from config file
2020-03-18 21:54:27 +03:00

12 lines
327 B
C++

#pragma once
#include <Poco/Util/Application.h>
namespace Poco::Util
{
class LayeredConfiguration;
}
/// 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);