| Library | My biased opinion | |---------|-------------------| @@ -53,6 +53,9 @@ After I wrote this, I also found the following libraries: | [Argument Aggregator] | I'm a big fan of the [fmt] library, and the try-catch statement looks familiar. :thumbsup: Doesn't seem to support subcommands. | | [Clara] | Simple library built for the excellent [Catch] testing framework. Unique syntax, limited scope. | +
+ +```cpp +try { + app.parse(argc, argv); +} catch (const CLI::ParseError &e) { + return app.exit(e); +} +``` + +