Definition at line 335 of file pfminictrl.cc.
References Configuration::AddOptions(), po_bool(), and po_switch().
Referenced by main().
337 po::options_description control(
"PFmini control");
338 control.add_options()
339 (
"no-dim,d",
po_switch(),
"Disable dim services")
340 (
"addr,a", var<string>(
"10.0.130.140:80"),
"Network address of the lid controling Arduino including port")
341 (
"quiet,q",
po_bool(
true),
"Disable printing contents of all received messages (except dynamic data) in clear text.")
342 (
"debug-tx",
po_bool(),
"Enable debugging of ethernet transmission.")
343 (
"interval", var<uint16_t>(15),
"Interval in seconds at which a report is requested.")
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)