514 po::options_description control(
"agilent_ctrl control options");
515 control.add_options()
516 (
"no-dim",
po_bool(),
"Disable dim services")
517 (
"mode,m", var<string>()->required(),
"Mode (e.g. 24V, 50V, 80V)")
518 (
"addr.*", var<string>(),
"Network address of Agilent specified by mode")
519 (
"debug-rx",
po_bool(
false),
"Enable raw debug output wehen receiving data")
520 (
"interval", var<uint16_t>(15),
"Interval in seconds in which the Agilent status is requested")
521 (
"quiet,q",
po_bool(
true),
"Disable printing contents of all received messages (except dynamic data) in clear text.")
524 po::positional_options_description
p;
void SetArgumentPositions(const po::positional_options_description &desc)
void AddOptions(const po::options_description &opt, bool visible=true)
po::typed_value< bool > * po_bool(bool def=false)