Definition at line 667 of file lidctrl.cc.
References Configuration::AddOptions(), po_bool(), and po_switch().
Referenced by main().
669 po::options_description control(
"Lid control");
670 control.add_options()
671 (
"no-dim,d",
po_switch(),
"Disable dim services")
672 (
"addr,a", var<string>(
""),
"Network address of the lid controling Arduino including port")
673 (
"url,u", var<string>(
""),
"File name and path to load")
674 (
"quiet,q",
po_bool(
true),
"Disable printing contents of all received messages (except dynamic data) in clear text.")
675 (
"interval,i", var<uint16_t>(5),
"Interval between two updates on the server in seconds")
676 (
"time-to-move", var<uint16_t>(20),
"Expected minimum time the lid taks to open/close")
677 (
"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)