1
0
mirror of https://github.com/CLIUtils/CLI11.git synced 2025-04-29 20:23:55 +00:00

Fixing format of new example

This commit is contained in:
Henry Fredrick Schreiner 2017-11-27 17:41:04 -05:00
parent b010775051
commit 29b36857fd

View File

@ -21,7 +21,7 @@ int main(int argc, char **argv) {
test.parse(argc, argv); test.parse(argc, argv);
if(*help) if(*help)
throw CLI::CallForHelp(); throw CLI::CallForHelp();
} catch (const CLI::Error &e) { } catch(const CLI::Error &e) {
std::cout << "Option string:" << some_option << std::endl; std::cout << "Option string:" << some_option << std::endl;
return test.exit(e); return test.exit(e);
} }