From debfd4dc69ba0d774496c4419b6cd51525d5e17e Mon Sep 17 00:00:00 2001 From: sithlord48 Date: Tue, 14 Oct 2025 12:34:11 -0400 Subject: [PATCH] refactor: deskflow core print any parser errors --- src/apps/deskflow-core/deskflow-core.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/apps/deskflow-core/deskflow-core.cpp b/src/apps/deskflow-core/deskflow-core.cpp index d6b9eb14db..7f15890050 100644 --- a/src/apps/deskflow-core/deskflow-core.cpp +++ b/src/apps/deskflow-core/deskflow-core.cpp @@ -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);