diff options
Diffstat (limited to 'src/command')
-rw-r--r-- | src/command/command.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/command/command.c b/src/command/command.c index 949f21c7..c89bcb05 100644 --- a/src/command/command.c +++ b/src/command/command.c @@ -192,12 +192,14 @@ static struct cmd_t command_defs[] = CMD_TAG_CONNECTION) CMD_SYN( "/tls allow", + "/tls always", "/tls deny") CMD_DESC( "Handle TLS certificates. ") CMD_ARGS( - { "allow", "Allow connection using invalid TLS certificate." }, - { "deny", "Allow connection using invalid TLS certificate." }) + { "allow", "Allow connection to continue with an invalid TLS certificate." }, + { "always", "Always allow connections with this invalid TLS certificate." }, + { "deny", "Terminate TLS connection." }) CMD_NOEXAMPLES }, @@ -2088,6 +2090,7 @@ cmd_init(void) tls_ac = autocomplete_new(); autocomplete_add(tls_ac, "allow"); + autocomplete_add(tls_ac, "always"); autocomplete_add(tls_ac, "deny"); } |