Definition at line 589 of file dclient5.cc.
References Configuration::AddEnv(), Configuration::AddOptions(), Configuration::GetName(), and po_switch().
Referenced by main().
591 const string n = conf.
GetName()+
".log";
593 po::options_description config(
"Program options");
595 (
"dns", var<string>(
"localhost"),
"Dim nameserver host name (Overwites DIM_DNS_NODE environment variable)")
596 (
"log,l", var<string>(n),
"Write log-file")
597 (
"no-dim,d",
po_switch(),
"Disable dim services")
598 (
"console,c", var<int>(),
"Use console (0=shell, 1=simple buffered, X=simple unbuffered)")
601 conf.
AddEnv(
"dns",
"DIM_DNS_NODE");
po::typed_value< bool > * po_switch()
void AddEnv(const std::string &conf, const std::string &env)
void AddOptions(const po::options_description &opt, bool visible=true)
const std::string & GetName() const