Definition at line 550 of file tngweather.cc.
References Configuration::AddOptions(), po_bool(), and po_switch().
Referenced by main().
552 po::options_description control(
"TNG weather control options");
553 control.add_options()
554 (
"no-dim,d",
po_switch(),
"Disable dim services")
555 (
"addr,a", var<string>(
"tngweb.tng.iac.es:80"),
"Network address of Cosy")
556 (
"url,u", var<string>(
"/api/meteo/weather/feed.xml"),
"File name and path to load")
557 (
"quiet,q",
po_bool(
true),
"Disable printing contents of all received messages (except dynamic data) in clear text.")
558 (
"interval,i", var<uint16_t>(300),
"Interval between two updates on the server in seconds")
559 (
"debug-tx",
po_bool(),
"Enable debugging of ethernet transmission.")
po::typed_value< bool > * po_switch()
void AddOptions(const po::options_description &opt, bool visible=true)
po::typed_value< bool > * po_bool(bool def=false)