Index: main.cpp =================================================================== diff -u -rd3f916066c2d10c10fffa91fd8a7e5ac6dd86c7d -r45617764a63d5573bfb942b039f2854ed25ba15d --- main.cpp (.../main.cpp) (revision d3f916066c2d10c10fffa91fd8a7e5ac6dd86c7d) +++ main.cpp (.../main.cpp) (revision 45617764a63d5573bfb942b039f2854ed25ba15d) @@ -100,31 +100,31 @@ parser.addHelpOption(); parser.addVersionOption(); - // --- + // --- -c : canOut QCommandLineOption optionConsoleoutCanInterface( QStringList() << "c" << "canOut", QCoreApplication::translate("main", "Show the Can Frame Output")); parser.addOption(optionConsoleoutCanInterface); - // --- + // --- -m : msgOut QCommandLineOption optionConsoleoutFrameInterface( QStringList() << "m" << "msgOut", QCoreApplication::translate("main", "Show the Message Output")); parser.addOption(optionConsoleoutFrameInterface); - // --- + // --- -0 : disable-keep-awake QCommandLineOption optionSendEmptyKeepAwake(QStringList() << "0" << "disable-keep-awake", QCoreApplication::translate("main", "Disable send low priority, empty message on the CANBus just to keep UI board CAN driver awake")); parser.addOption(optionSendEmptyKeepAwake); - // --- + // --- -i : fake-interval QCommandLineOption optionFakeInterval( QStringList() << "i" << "fake-interval", QCoreApplication::translate("main", "Test fake message interval(ms)"), QCoreApplication::translate("main", "interval")); parser.addOption(optionFakeInterval); - // --- + // --- -f : fake-message QCommandLineOption optionFakeData( QStringList() << "f" << "fake-message", QCoreApplication::translate("main", "Test fake message data\n" @@ -133,19 +133,19 @@ QCoreApplication::translate("main", "data")); parser.addOption(optionFakeData); - // --- + // --- -b : fake-message-seq-atbegin QCommandLineOption optionFakeSeqAtBegin( QStringList() << "b" << "fake-message-seq-atbegin", QCoreApplication::translate("main", "Test fake message sequence at the beginning of the frame")); parser.addOption(optionFakeSeqAtBegin); - // --- + // --- -u : disable-unhandled-report QCommandLineOption optionDisableHunhandledReport(QStringList() << "u" << "disable-unhandled-report", QCoreApplication::translate("main", "Disable unhandled messages report as an error in the log")); parser.addOption(optionDisableHunhandledReport); - // --- + // --- parse command lines parser.process(*qApp); gConsoleoutCanInterface = parser.isSet(optionConsoleoutCanInterface );