556 const string n = conf.
GetName()+
".log";
558 po::options_description config(
"Program options");
560 (
"dns", var<string>(
"localhost"),
"Dim nameserver host name (Overwites DIM_DNS_NODE environment variable)")
561 (
"port,p", var<uint16_t>(5000),
"")
564 po::positional_options_description
p;
568 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)
const std::string & GetName() const