1
0
mirror of https://github.com/CLIUtils/CLI11.git synced 2025-05-07 15:33:51 +00:00

Typo error fix

This commit is contained in:
Henry Schreiner 2017-11-22 22:39:16 -05:00
parent b45917e3e5
commit 1735306815

View File

@ -1507,7 +1507,7 @@ class App {
namespace FailureMessage {
inline std::string simple(const App *app, const Error &e) {
std::string header = e.what() + "\n";
std::string header = std::string(e.what()) + "\n";
if(app->get_help_ptr() != nullptr)
header += "Run with " + app->get_help_ptr()->single_name() + " for more information.\n";
return header;