Skip to content
Snippets Groups Projects
Commit f6ff6f24 authored by Felix Weiglhofer's avatar Felix Weiglhofer
Browse files

Options.cxx: Change shortflag to -L for log file.

parent 1c950d59
No related branches found
No related tags found
1 merge request!1181cbmreco: Add flag to write logs to file.
......@@ -54,7 +54,7 @@ Options::Options(int argc, char** argv)
"set log level (debug, info, warning, error, fatal)")
("monitor,m", po::value(&fMonitorUri)->value_name("<uri>")->implicit_value("file:cout"),
"URI specifying monitor output (e.g. file:/tmp/monitor.txt, influx1:login:8086:cbmreco_status). Prints to cout when no argument is given. Monitor is disabled when flag is not set.")
("log-file,f", po::value(&fLogFile)->value_name("<file>"),
("log-file,L", po::value(&fLogFile)->value_name("<file>"),
"write log messages to file")
("num-ts,n", po::value<int>(&fNumTimeslices)->default_value(-1)->value_name("<num>"),
"Stop after <num> timeslices (-1 = all)")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment