summaryrefslogtreecommitdiff
path: root/src/cli-args.def
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli-args.def')
-rw-r--r--src/cli-args.def12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/cli-args.def b/src/cli-args.def
index 24906e5235..de8ca99dab 100644
--- a/src/cli-args.def
+++ b/src/cli-args.def
@@ -88,6 +88,18 @@ flag = {
};
flag = {
+ name = app-proto;
+ aliases = starttls-proto;
+};
+
+flag = {
+ name = starttls-proto;
+ descrip = "The application protocol to be used to obtain the server's certificate (https, smtp, imap)";
+ arg-type = string;
+ doc = "Specify the application layer protocol for STARTTLS. If the protocol is supported, gnutls-cli will proceed to the TLS negotiation.";
+};
+
+flag = {
name = udp;
value = u;
descrip = "Use DTLS (datagram TLS) over UDP";