11 po::options_description config(
"Configuration");
13 (
"dns", var<string>(
"localhost"),
"Dim nameserver host name (Overwites DIM_DNS_NODE environment variable)")
14 (
"schedule-database-name", var<string>(),
"Database name for scheduling")
17 po::positional_options_description
p;
18 p.add(
"schedule-database-name", 1);
20 conf.
AddEnv(
"dns",
"DIM_DNS_NODE");
void AddEnv(const std::string &conf, const std::string &env)
void SetArgumentPositions(const po::positional_options_description &desc)
void AddOptions(const po::options_description &opt, bool visible=true)