aboutsummaryrefslogtreecommitdiffstats
path: root/src/SimpleHandlers.cpp
diff options
context:
space:
mode:
authorNiklas Halle <niklas@niklashalle.net>2020-08-26 14:38:20 +0200
committerNiklas Halle <niklas@niklashalle.net>2020-08-26 14:38:20 +0200
commitafdd7e9b69b26aa7fadb65a0da6aa9a21341bc4c (patch)
tree44fea26701a3258f50500af1b3fb91b84d23ecb8 /src/SimpleHandlers.cpp
parente78a940d37e8ab614fd566ee840d00fbaa577c40 (diff)
downloadn_core-afdd7e9b69b26aa7fadb65a0da6aa9a21341bc4c.tar.gz
n_core-afdd7e9b69b26aa7fadb65a0da6aa9a21341bc4c.zip
:(
Diffstat (limited to 'src/SimpleHandlers.cpp')
-rw-r--r--src/SimpleHandlers.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/SimpleHandlers.cpp b/src/SimpleHandlers.cpp
index 0ebdd79..0b10247 100644
--- a/src/SimpleHandlers.cpp
+++ b/src/SimpleHandlers.cpp
@@ -36,7 +36,9 @@ Handler::json Handler::helpHandler(std::string const &arguments, std::string con
for (auto const &itor : *commands) {
std::vector<json> commandAnnotations;
- commandAnnotations.emplace_back(create_annotation(Reply::AnnotationType::command, std::move(*itor.description)));
+
+ commandAnnotations.emplace_back(
+ create_annotation(Reply::AnnotationType::command, std::move(*itor.description)));
reply_vec.emplace_back(create_text("- "));
reply_vec.emplace_back(create_text(itor.command, std::move(commandAnnotations)));