Index: main.cpp =================================================================== diff -u -r27cc308ff5113a9386899d3c8f8b29962a8498e1 -r526875e8db8cf0c97f5cd8aa90564e41d42f5fde --- main.cpp (.../main.cpp) (revision 27cc308ff5113a9386899d3c8f8b29962a8498e1) +++ main.cpp (.../main.cpp) (revision 526875e8db8cf0c97f5cd8aa90564e41d42f5fde) @@ -85,6 +85,7 @@ bool gSendEmptyKeepAwake = false ; bool gFakeSeqAtBegin = false ; bool gDisableUnhandledReport = false ; +bool gEnableDialinUnhandled = false ; bool gDisableTimeout = false ; bool gDisableAlarmNoMinimize = false ; @@ -178,13 +179,21 @@ parser.addOption(optionFakeSeqAtBegin); // --- -u : disable-unhandled-report - QCommandLineOption optionDisableUnhandledReport(QStringList() << "u" << "disable-unhandled-report", - QCoreApplication::translate("main", "Disable unhandled messages report as an error in the log")); + QCommandLineOption optionDisableUnhandledReport( + QStringList() << "u" << "disable-unhandled-report", + QCoreApplication::translate("main", "Disable unhandled messages report as an error in the log")); parser.addOption(optionDisableUnhandledReport); + // --- -d : enable-dialin-unhandled + QCommandLineOption optionEnableDialinUnhandled( + QStringList() << "d" << "enable-dialin-unhandled", + QCoreApplication::translate("main", "Enable the Dialin messages logged as unhandled")); + parser.addOption(optionEnableDialinUnhandled); + // --- -q : disable-timeout - QCommandLineOption optionDisableTimeout(QStringList() << "q" << "disable-timeout", - QCoreApplication::translate("main", "Disables HD communication timeout")); + QCommandLineOption optionDisableTimeout( + QStringList() << "q" << "disable-timeout", + QCoreApplication::translate("main", "Disables HD communication timeout")); parser.addOption(optionDisableTimeout); // --- -a : disable-alarm-no-minimize @@ -199,6 +208,7 @@ gConsoleoutFrameInterface = parser.isSet(optionConsoleoutFrameInterface ); gConsoleoutLogs = parser.isSet(optionConsoleoutLogs ); gDisableUnhandledReport = parser.isSet(optionDisableUnhandledReport ); + gEnableDialinUnhandled = parser.isSet(optionEnableDialinUnhandled ); gDisableTimeout = parser.isSet(optionDisableTimeout ); gDisableAlarmNoMinimize = parser.isSet(optionDisableAlarmMoMinimize );