Index: LeahiRt/main.cpp =================================================================== diff -u -r402926738e7394ee2d3dc7add2e6d755f06a289d -rccc40a7e73e9ee5d2a5fb56f3f2bea4f8294900f --- LeahiRt/main.cpp (.../main.cpp) (revision 402926738e7394ee2d3dc7add2e6d755f06a289d) +++ LeahiRt/main.cpp (.../main.cpp) (revision ccc40a7e73e9ee5d2a5fb56f3f2bea4f8294900f) @@ -54,10 +54,16 @@ {"c", "config"}, "Path to the configuration INI file.", "config", QDir(app.applicationDirPath()).filePath("config/LeahiRt.ini") ); + QCommandLineOption msgHandlingOption( + {"m", "msg_handling"}, "Path to the message handling INI file.", "msg_handling", + QDir(app.applicationDirPath()).filePath("config/LeahiRtMsgHandling.ini") + ); parser.addOption(configOption); + parser.addOption(msgHandlingOption); parser.process(app); - LeahiRtController rtController(parser.value(configOption)); + LeahiRtController rtController(parser.value(configOption), + parser.value(msgHandlingOption)); rtController.connectToAgent(); return app.exec();