]> granicus.if.org Git - curl/commitdiff
curl -V: output HTTP2 as a feature if present
authorDaniel Stenberg <daniel@haxx.se>
Tue, 3 Sep 2013 21:14:51 +0000 (23:14 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 4 Sep 2013 20:29:38 +0000 (22:29 +0200)
src/tool_getparam.c

index b5068ac5fb9446234ac6652af3decd844c987b9f..45194235a496a0ae2ff499590e2e472e41518bfd 100644 (file)
@@ -285,7 +285,8 @@ static const struct feat feats[] = {
   {"krb4",           CURL_VERSION_KERBEROS4},
   {"libz",           CURL_VERSION_LIBZ},
   {"CharConv",       CURL_VERSION_CONV},
-  {"TLS-SRP",        CURL_VERSION_TLSAUTH_SRP}
+  {"TLS-SRP",        CURL_VERSION_TLSAUTH_SRP},
+  {"HTTP2",          CURL_VERSION_HTTP2}
 };
 
 /* Split the argument of -E to 'certname' and 'passphrase' separated by colon.