18 po::options_description control(
"Makeschedule");
20 (
"date", var<string>(),
"SQL time (UTC), e.g. '2016-12-24' (equiv. '2016-12-24 12:00:00' to '2016-12-25 11:59:59')")
21 (
"source-database", var<string>()->required(),
"Database link as in\n\tuser:password@server[:port]/database.")
22 (
"schedule-database", var<string>(),
"Database link as in\n\tuser:password@server[:port]/database.")
23 (
"max-current", var<double>(90),
"Global maximum current limit in uA")
24 (
"max-zd", var<double>(75),
"Global zenith distance limit in degree")
25 (
"source", vars<string>(),
"List of all TeV sources to be included, names according to the database")
26 (
"setup.*", var<double>(),
"Setup for the sources to be observed")
27 (
"preobs.*", vars<string>(),
"Prescheduled observations")
28 (
"startup.offset", var<double>(15),
"Determines how many minutes the startup is scheduled before data-taking.start [0;120]")
29 (
"data-taking.start", var<double>(-12),
"Begin of data-taking in degree of sun below horizon")
30 (
"data-taking.end", var<double>(-13.75),
"End of data-taking in degree of sun below horizon")
31 (
"enter-schedule-into-database", var<bool>(),
"Enter schedule into database (required schedule-database, false: dry-run)")
34 po::positional_options_description
p;
void SetArgumentPositions(const po::positional_options_description &desc)
void AddOptions(const po::options_description &opt, bool visible=true)