From 5fb1cdfb5d7c6f854102ce33f8c7cad2a3b27153 Mon Sep 17 00:00:00 2001 From: René Korthaus Date: Mon, 28 Aug 2017 22:45:11 +0200 Subject: Print a command description for cli help --- src/cli/tls_server.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/cli/tls_server.cpp') diff --git a/src/cli/tls_server.cpp b/src/cli/tls_server.cpp index 44c69bf17..d4c027c07 100644 --- a/src/cli/tls_server.cpp +++ b/src/cli/tls_server.cpp @@ -36,6 +36,16 @@ class TLS_Server final : public Command, public Botan::TLS::Callbacks stop_sockets(); } + std::string group() const override + { + return "tls"; + } + + std::string description() const override + { + return "Accept TLS/DTLS connections from TLS/DTLS clients"; + } + void go() override { const std::string server_crt = get_arg("cert"); -- cgit v1.2.3