aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli/tls_server.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-01-14 13:31:57 -0500
committerJack Lloyd <[email protected]>2018-01-14 13:31:57 -0500
commit17bc804ea9bc99f96a91cf43b4a29650dfe2f86e (patch)
treefaf1544989346a685669611ef87a706042662c88 /src/cli/tls_server.cpp
parentbede26dcff12cbb528a014bed3c2da983f04f8e4 (diff)
parent5fb1cdfb5d7c6f854102ce33f8c7cad2a3b27153 (diff)
Merge GH #1387 Improve help output of cli tool
Diffstat (limited to 'src/cli/tls_server.cpp')
-rw-r--r--src/cli/tls_server.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/cli/tls_server.cpp b/src/cli/tls_server.cpp
index 7127b2020..b9cd0d029 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");