diff options
author | René Korthaus <[email protected]> | 2017-08-28 22:45:11 +0200 |
---|---|---|
committer | René Korthaus <[email protected]> | 2018-01-04 18:18:22 +0100 |
commit | 5fb1cdfb5d7c6f854102ce33f8c7cad2a3b27153 (patch) | |
tree | a643600981c025985599c1a0ee13f1a516a9731e /src/cli/tls_http_server.cpp | |
parent | 5ac3d723d1be27098bc3a18204a07a5972a0e283 (diff) |
Print a command description for cli help
Diffstat (limited to 'src/cli/tls_http_server.cpp')
-rw-r--r-- | src/cli/tls_http_server.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/cli/tls_http_server.cpp b/src/cli/tls_http_server.cpp index 9669ee27c..339cd2a67 100644 --- a/src/cli/tls_http_server.cpp +++ b/src/cli/tls_http_server.cpp @@ -466,6 +466,16 @@ class TLS_HTTP_Server final : public Command "--port=443 --policy= --threads=0 " "--session-db= --session-db-pass=") {} + std::string group() const override + { + return "tls"; + } + + std::string description() const override + { + return "Provides a simple HTTP server"; + } + void go() override { const size_t listen_port = get_arg_sz("port"); |