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);
// Comment below until we are ready use only this parser
// if (!parser.errorText().isEmpty()) {
// QTextStream(stdout) << parser.errorText() << "\nUse --help for more information.";
// return s_exitFailed;
// }
// Print any parser errors
if (!parser.errorText().isEmpty()) {
QTextStream(stdout) << parser.errorText() << "\n";
}
if (parser.help()) {
showHelp(parser);