File tree 1 file changed +8
-0
lines changed
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -97,6 +97,7 @@ Options:\n\
97
97
--silent Do not print the status messages (should be used with --application)\n \
98
98
--exit Immediately exit after executing the commands (should be used with --application)\n \
99
99
--from <conf> Configuration file name\n \
100
+ --elapsed_time if present the time stamp for log messages will be relative to the GUI start time\n \
100
101
--version Show current version\n \
101
102
--help Show help\n "
102
103
@@ -152,6 +153,13 @@ YConsoleManager::YConsoleManager(int argc, char* argv[]) : Manager()
152
153
return ;
153
154
}
154
155
156
+ // I the option elapsed_time is not set, set the start time to 00:00:00 (For error and warning logging)
157
+ if (!config.check (" elapsed_time" ))
158
+ {
159
+ yarp::manager::ClockStart& clock = yarp::manager::ClockStart::getInstance ();
160
+ clock .setStartTime (" 00:00:00" );
161
+ }
162
+
155
163
/* *
156
164
* preparing default options
157
165
*/
You can’t perform that action at this time.
0 commit comments