Index: LeahiRt/main.cpp =================================================================== diff -u -ra52c25b8231e90a9de0421db171cde2336007733 -ra3336c0c40f8c14c2f649cc24afcbaf877932c53 --- LeahiRt/main.cpp (.../main.cpp) (revision a52c25b8231e90a9de0421db171cde2336007733) +++ LeahiRt/main.cpp (.../main.cpp) (revision a3336c0c40f8c14c2f649cc24afcbaf877932c53) @@ -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();