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:21:37 +0300
committerRich Trott <rtrott@gmail.com>2020-01-14 21:17:19 +0300
commitb477c9504d3d6ac34124cbe7b2efc4e6c0f3025d (patch)
treeb2cb4d3f9318937f706e6ff88b6434261b72b998 /doc/api/dgram.md
parent03d039349e64371089b8af3e5ccd899fa5bf0479 (diff)
doc: standardize on "host name" in dgram.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/dgram.md')
-rw-r--r--doc/api/dgram.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/dgram.md b/doc/api/dgram.md
index dc82f6dc581..d3eee26cdd5 100644
--- a/doc/api/dgram.md
+++ b/doc/api/dgram.md
@@ -400,7 +400,7 @@ changes:
* `offset` {integer} Offset in the buffer where the message starts.
* `length` {integer} Number of bytes in the message.
* `port` {integer} Destination port.
-* `address` {string} Destination hostname or IP address.
+* `address` {string} Destination host name or IP address.
* `callback` {Function} Called when the message has been sent.
Broadcasts a datagram on the socket.