From 3030c2d5c9873c00d2790ad0c9c007282c3e2b44 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= <essen@ninenines.eu>
Date: Mon, 13 May 2019 11:25:00 +0200
Subject: Fix a few examples using cert instead of certfile

---
 doc/src/manual/cowboy_req.cert.asciidoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'doc/src/manual/cowboy_req.cert.asciidoc')

diff --git a/doc/src/manual/cowboy_req.cert.asciidoc b/doc/src/manual/cowboy_req.cert.asciidoc
index 466860a..51f2e3c 100644
--- a/doc/src/manual/cowboy_req.cert.asciidoc
+++ b/doc/src/manual/cowboy_req.cert.asciidoc
@@ -22,7 +22,7 @@ transport option to `verify_peer`:
 ----
 {ok, _} = cowboy:start_tls(example, [
     {port, 8443},
-    {cert, "path/to/cert.pem"},
+    {certfile, "path/to/cert.pem"},
     {verify, verify_peer}
 ], #{
     env => #{dispatch => Dispatch}
-- 
cgit v1.2.3

