| 89 | finalized_ = true; |
| 90 | } |
| 91 | int OptionsContainer::Exit_(const CLI::ParseError& e, bool captureDiagnostics) |
| 92 | { |
| 93 | if (captureDiagnostics) { |
| 94 | return app_.exit(e, diagnostics_, diagnostics_); |
| 95 | } |
| 96 | else { |
| 97 | return app_.exit(e); |
| 98 | } |
| 99 | } |
| 100 | std::string OptionsContainer::GetDiagnostics_() const |
| 101 | { |
| 102 | auto out = diagnostics_.str(); |