Skip to content

Commit b8dee45

Browse files
TrottMylesBorins
authored andcommitted
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: #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 8055f78 commit b8dee45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/dgram.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ changes:
400400
* `offset` {integer} Offset in the buffer where the message starts.
401401
* `length` {integer} Number of bytes in the message.
402402
* `port` {integer} Destination port.
403-
* `address` {string} Destination hostname or IP address.
403+
* `address` {string} Destination host name or IP address.
404404
* `callback` {Function} Called when the message has been sent.
405405

406406
Broadcasts a datagram on the socket.

0 commit comments

Comments
 (0)