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:
parent
b45917e3e5
commit
1735306815
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user