added way to disable just debug outputs, fixes #645

This commit is contained in:
Martin Rotter 2022-02-22 09:45:49 +01:00
parent 7c96a97503
commit c33be91120

View file

@ -797,7 +797,7 @@ void Application::parseCmdArgumentsFromMyInstance() {
QCommandLineOption disable_singleinstance({ QSL(CLI_SIN_SHORT), QSL(CLI_SIN_LONG) }, QCommandLineOption disable_singleinstance({ QSL(CLI_SIN_SHORT), QSL(CLI_SIN_LONG) },
QSL("Allow running of multiple application instances.")); QSL("Allow running of multiple application instances."));
QCommandLineOption disable_only_debug({ QSL(CLI_NDEBUG_SHORT), QSL(CLI_NDEBUG_LONG) }, QCommandLineOption disable_only_debug({ QSL(CLI_NDEBUG_SHORT), QSL(CLI_NDEBUG_LONG) },
QSL("Disable just \"debug\" outputs.")); QSL("Disable just \"debug\" output."));
QCommandLineOption disable_debug({ QSL(CLI_NSTDOUTERR_SHORT), QSL(CLI_NSTDOUTERR_LONG) }, QCommandLineOption disable_debug({ QSL(CLI_NSTDOUTERR_SHORT), QSL(CLI_NSTDOUTERR_LONG) },
QSL("Completely disable stdout/stderr outputs.")); QSL("Completely disable stdout/stderr outputs."));