Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2020-01-12 18:29:19 +0300
committerRich Trott <rtrott@gmail.com>2020-01-14 21:17:28 +0300
commit57ac09cac79d80a5b064ffffbef7ee033ddcf934 (patch)
tree199f86a9525d52d1cac1153ec39174270156e5f3 /doc/api/net.md
parent278442eacb907537b2d9c5c718cde3bba095af84 (diff)
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 <luigipinca@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'doc/api/net.md')
-rw-r--r--doc/api/net.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/net.md b/doc/api/net.md
index 13bcd60cf48..d04e7eff078 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'`
<!-- YAML