Skip to content
Snippets Groups Projects
Commit d9e0f1f2 authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Use pout() and perr() in CLI11::exit

parent c60a4edb
Branches
Tags
1 merge request!11Feature/mpi
...@@ -96,7 +96,7 @@ std::string initialize(int& argc, char* argv[]) ...@@ -96,7 +96,7 @@ std::string initialize(int& argc, char* argv[])
try { try {
app.parse(argc, argv); app.parse(argc, argv);
} catch (const CLI::ParseError &e) { } catch (const CLI::ParseError &e) {
std::exit(app.exit(e)); std::exit(app.exit(e, pout(), perr()));
} }
ConsoleManager::init(colorize); ConsoleManager::init(colorize);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment