Definition at line 1628 of file cosyctrl.cc.
References Configuration::AddOptions(), po_bool(), and po_switch().
Referenced by main().
1630 const string def =
"localhost:7404";
1632 po::options_description control(
"Drive control options");
1633 control.add_options()
1634 (
"no-dim,d",
po_switch(),
"Disable dim services")
1635 (
"addr,a", var<string>(def),
"Network address of cosy")
1636 (
"quiet,q",
po_bool(
true),
"Disable printing contents of all received messages (except dynamic data) in clear text.")
1637 (
"source-database", var<string>(),
"Database link as in\n\tuser:password@server[:port]/database.")
1638 (
"source", vars<string>(),
"Additional source entry in the form \"name,hh:mm:ss,dd:mm:ss\"")
1639 (
"deviation-limit", var<uint16_t>(90),
"Deviation limit in arcsec to get 'OnTrack'")
1640 (
"deviation-count", var<uint16_t>(3),
"Minimum number of reported deviation below deviation-limit to get 'OnTrack'")
1641 (
"deviation-max", var<uint16_t>(180),
"Maximum deviation in arcsec allowed to keep status 'OnTrack'")
1642 (
"auto-resume",
po_bool(
false),
"Enable auto result during tracking if connection is lost")
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)