Index: main.cpp =================================================================== diff -u -rfd79fadd4f42518f80e2cf3c19eec5a516ed75d4 -r627b97843f87f5ca8fbd731c6c4a6d9fae4352ce --- main.cpp (.../main.cpp) (revision fd79fadd4f42518f80e2cf3c19eec5a516ed75d4) +++ main.cpp (.../main.cpp) (revision 627b97843f87f5ca8fbd731c6c4a6d9fae4352ce) @@ -55,7 +55,6 @@ #include "CloudSyncController.h" #include "Threads.h" -// #include "FileHandler.h" // kernel #include @@ -85,10 +84,11 @@ bool gSendEmptyKeepAwake = false ; bool gFakeSeqAtBegin = false ; bool gDisableUnhandledReport = false ; -bool gEnableDialinUnhandled = false ; +bool gDisableDialinUnhandled = false ; bool gDisableTimeout = false ; bool gDisableAlarmNoMinimize = false ; bool gDisableCheckInLog = false ; +bool gDisableAcknowLog = false ; bool gConsoleoutLogs = false ; bool gConsoleoutFrameInterface = false ; @@ -119,8 +119,11 @@ * of the frame * -u, --disable-unhandled-report Disable unhandled messages report as an * error in the log + * -d, --disable-dialin-unhandled Disable the Dialin messages logged as + * unhandled * -q, --disable-timeout Disables HD communication timeout - * + * -a, --disable-alarm-no-minimize Disables alarm no minimize + * -k, --disable-check-in-log Disables Check-In Log * * \endverbatim */ /*! @@ -186,10 +189,10 @@ 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); + QCommandLineOption optionDisableDialinUnhandled( + QStringList() << "d" << "disable-dialin-unhandled", + QCoreApplication::translate("main", "Disable the Dialin messages logged as unhandled")); + parser.addOption(optionDisableDialinUnhandled); // --- -q : disable-timeout QCommandLineOption optionDisableTimeout( @@ -207,17 +210,23 @@ QCoreApplication::translate("main", "Disables Check-In Log")); parser.addOption(optionDisableCheckInLog); + // --- -K : disable-acknow-log (Acknowledge) + QCommandLineOption optionDisableAcknowLog(QStringList() << "K" << "disable-acknow-log", + QCoreApplication::translate("main", "Disables Acknowledgment Log")); + parser.addOption(optionDisableAcknowLog); + // --- parse command lines parser.process(*qApp); gConsoleoutCanInterface = parser.isSet(optionConsoleoutCanInterface ); gConsoleoutFrameInterface = parser.isSet(optionConsoleoutFrameInterface ); gConsoleoutLogs = parser.isSet(optionConsoleoutLogs ); gDisableUnhandledReport = parser.isSet(optionDisableUnhandledReport ); - gEnableDialinUnhandled = parser.isSet(optionEnableDialinUnhandled ); + gDisableDialinUnhandled = parser.isSet(optionDisableDialinUnhandled ); gDisableTimeout = parser.isSet(optionDisableTimeout ); gDisableAlarmNoMinimize = parser.isSet(optionDisableAlarmMoMinimize ); gDisableCheckInLog = parser.isSet(optionDisableCheckInLog ); + gDisableAcknowLog = parser.isSet(optionDisableAcknowLog ); if (parser.isSet(optionSendEmptyKeepAwake)) gSendEmptyKeepAwake = true; bool ok = false;