Hi Daniel Thanks for getting back this fast 😊 No, I overall like the TCLAP behaviour. There is no need to disable any functionality; the exception handling is important in this context. The goal is to use TCLAP in ESP32/FreeRTOS projects, i.e. embedded systems. This implies that exit() is not an option because that will reset the embedded application. Rather than exit(), CmdLine shall return with zero when everything is successful, and non-zero if parsing was unsuccessful. Another thing is that TCLAP...
What I basically want is to be able to run the attached program to the end. The program is based on tclap 1.4 included as 'Additional Include Directories'. The program iterates 7 times with different args by calling tclap_main with different arguments. See stdio_testWin.cpp. It never comes past the third iteration because it asks for the --version which exits due to CmdLine exiting.
CmdLine::parse return behaviour