Skip to content

Commit 54b5346

Browse files
Trottcodebytere
authored andcommitted
doc: standardize on "host name" in os.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 ac3d0c9 commit 54b5346

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/os.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ added: v0.3.3
175175

176176
* Returns: {string}
177177

178-
Returns the hostname of the operating system as a string.
178+
Returns the host name of the operating system as a string.
179179

180180
## `os.loadavg()`
181181
<!-- YAML

0 commit comments

Comments
 (0)