diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp index a61a3dd..a86c589 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -19,7 +19,7 @@ struct CommandHandler { } handler_function func{nullptr}; - [[maybe_unused]] std::string description; + std::string description; void *payload{nullptr}; }; @@ -124,8 +124,7 @@ json helpHandler(std::string const &arguments, std::string const &session, void for (auto const &itor : commands) { std::vector<json> commandAnnotations; - commandAnnotations.push_back(std::move(create_annotation(Reply::AnnotationType::italics))); - commandAnnotations.push_back(std::move(create_annotation(Reply::AnnotationType::underline))); + commandAnnotations.push_back(std::move(create_annotation(Reply::AnnotationType::command))); reply_vec.push_back(std::move(create_text("- "))); reply_vec.push_back(std::move(create_text(itor.first, std::move(commandAnnotations)))); |