diff --git a/nselib/nmap.luadoc b/nselib/nmap.luadoc
index 1899882cd..0488c8e2c 100644
--- a/nselib/nmap.luadoc
+++ b/nselib/nmap.luadoc
@@ -234,8 +234,8 @@ function set_port_state(host, port, state)
-- information to set. The version detection fields this function looks at are
-- name, product, version,
-- extrainfo, hostname, ostype,
--- devicetype, and service_tunnel. All these keys are
--- optional.
+-- devicetype, service_tunnel, and cpe.
+-- All these keys are optional.
--
-- The probestate argument describes the state in which the script
-- completed. It is a string, one of: "hardmatched",