refactor: deskflow core print any parser errors

This commit is contained in:
sithlord48 2025-10-14 12:34:11 -04:00 committed by Nick Bolton
parent 41d5359f4d
commit debfd4dc69

View file

@ -51,11 +51,10 @@ int main(int argc, char **argv)
CoreArgParser parser(args); CoreArgParser parser(args);
// Comment below until we are ready use only this parser // Print any parser errors
// if (!parser.errorText().isEmpty()) { if (!parser.errorText().isEmpty()) {
// QTextStream(stdout) << parser.errorText() << "\nUse --help for more information."; QTextStream(stdout) << parser.errorText() << "\n";
// return s_exitFailed; }
// }
if (parser.help()) { if (parser.help()) {
showHelp(parser); showHelp(parser);