Definition at line 458 of file magicweather.cc.
References Configuration::AddOptions(), po_bool(), and po_switch().
Referenced by main().
460 po::options_description control(
"MAGIC weather control options");
461 control.add_options()
462 (
"no-dim,d",
po_switch(),
"Disable dim services")
463 (
"addr,a", var<string>(
"www.magic.iac.es:80"),
"Network address of Cosy")
464 (
"url,u", var<string>(
"/site/weather/weather_data.txt"),
"File name and path to load")
465 (
"quiet,q",
po_bool(
true),
"Disable printing contents of all received messages (except dynamic data) in clear text.")
466 (
"interval,i", var<uint16_t>(30),
"Interval between two updates on the server in seconds")
467 (
"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)