From 94122f611ae9e7c2ac099fc352098acf41dc9a73 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sun, 12 Jan 2020 07:29:19 -0800 Subject: [PATCH] doc: standardize on "host name" in net.md Our docs have a mix of "hostname" and "host name" in prose. Let's follow the usage of Unix man pages, RFCs, and most professionally-edited sources, and use "host name" in prose and "hostname" to refer to the command and in code. Lint rule forthcoming. PR-URL: https://github.com/nodejs/node/pull/31326 Refs: https://github.com/nodejs/node/pull/31073 Reviewed-By: Luigi Pinca Reviewed-By: Richard Lau Reviewed-By: James M Snell Reviewed-By: Trivikram Kamat --- doc/api/net.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/net.md b/doc/api/net.md index 13bcd60cf48e1c..d04e7eff0789a7 100644 --- a/doc/api/net.md +++ b/doc/api/net.md @@ -503,13 +503,13 @@ changes: description: The `host` parameter is supported now. --> -Emitted after resolving the hostname but before connecting. +Emitted after resolving the host name but before connecting. Not applicable to Unix sockets. * `err` {Error|null} The error object. See [`dns.lookup()`][]. * `address` {string} The IP address. * `family` {string|null} The address type. See [`dns.lookup()`][]. -* `host` {string} The hostname. +* `host` {string} The host name. ### Event: `'ready'`