Cmdline: Suppress getopt stderr msg, bubble exception upward instead

This commit is contained in:
2025-08-03 10:19:22 -04:00
parent fef73692f7
commit e836b2bf32
2 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ void ComponentThread::marionetteMain(ComponentThread& self)
catch (const std::invalid_argument& e)
{
std::cerr << __func__ << ": Exception occurred: " << e.what()
<< '\n' << options.getUsage() << '\n';
<< '\n';
options.printUsage = true;
mrntt::exitCode = EXIT_FAILURE;