Skip to content

Commit a546544

Browse files
Trottcodebytere
authored andcommitted
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: #31326 Refs: #31073 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
1 parent de7a76e commit a546544

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/net.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -503,13 +503,13 @@ changes:
503503
description: The `host` parameter is supported now.
504504
-->
505505

506-
Emitted after resolving the hostname but before connecting.
506+
Emitted after resolving the host name but before connecting.
507507
Not applicable to Unix sockets.
508508

509509
* `err` {Error|null} The error object. See [`dns.lookup()`][].
510510
* `address` {string} The IP address.
511511
* `family` {string|null} The address type. See [`dns.lookup()`][].
512-
* `host` {string} The hostname.
512+
* `host` {string} The host name.
513513

514514
### Event: `'ready'`
515515
<!-- YAML

0 commit comments

Comments
 (0)