Definition at line 439 of file sqmctrl.cc.
References Configuration::AddOptions(), po_bool(), and po_switch().
Referenced by main().
441 po::options_description control(
"SQM control");
442 control.add_options()
443 (
"no-dim,d",
po_switch(),
"Disable dim services")
444 (
"addr,a", var<string>(
"10.0.100.208:10001"),
"Network address of the lid controling Arduino including port")
445 (
"quiet,q",
po_bool(
true),
"Disable printing contents of all received messages (except dynamic data) in clear text.")
446 (
"debug-tx",
po_bool(),
"Enable debugging of ethernet transmission.")
447 (
"request-interval", var<uint16_t>(5000),
"How often to request a report [milliseconds].")
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)