601 const string n = conf.
GetName()+
".log";
603 po::options_description config(
"Program options");
605 (
"dns", var<string>(
"localhost"),
"Dim nameserver host name (Overwites DIM_DNS_NODE environment variable)")
606 (
"port,p", var<uint16_t>(4000),
"")
607 (
"num,n", var<uint16_t>(40),
"")
610 po::positional_options_description
p;
614 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