diff --git a/nselib/nmap.luadoc b/nselib/nmap.luadoc
index bbaccd884..f0ff9a8f3 100644
--- a/nselib/nmap.luadoc
+++ b/nselib/nmap.luadoc
@@ -431,10 +431,10 @@ function bind(addr, port)
-- "tcp".
--
-- If host is a host table, it must contain at least one of the
--- keys addr or targetname. If targetname
+-- keys ip or name. If name
-- is given, it is used to request the correct certificate in SSL connections.
--- Passing a string instead of a host table acts like host.addr and
--- host.targetname were set to the same value. If port
+-- Passing a string instead of a host table acts like host.ip and
+-- host.name were set to the same value. If port
-- is a table, it must contain the number key.
--
-- On success the function returns a true value. On failure it returns a false