Index: LeahiRt/main.cpp =================================================================== diff -u -rf9c6b488aa4135e8cd47ccd3fdc6c3ae1cd831aa -r64243101dff61b5c1a40b96ef33080236999acf6 --- LeahiRt/main.cpp (.../main.cpp) (revision f9c6b488aa4135e8cd47ccd3fdc6c3ae1cd831aa) +++ LeahiRt/main.cpp (.../main.cpp) (revision 64243101dff61b5c1a40b96ef33080236999acf6) @@ -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();