Commit f1cf5cf0 authored by Paul's avatar Paul
Browse files

Formatting

parent a1227700
...@@ -177,9 +177,10 @@ struct main_command ...@@ -177,9 +177,10 @@ struct main_command
static std::string get_command_help() static std::string get_command_help()
{ {
std::string result = "Commands:\n"; std::string result = "Commands:\n";
return std::accumulate(get_commands().begin(), get_commands().end(), result, [](auto r, auto&& p) { return std::accumulate(get_commands().begin(),
return r + " " + p.first + "\n"; get_commands().end(),
}); result,
[](auto r, auto&& p) { return r + " " + p.first + "\n"; });
} }
void parse(argument_parser& ap) void parse(argument_parser& ap)
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment