diff options
author | Rich Trott <rtrott@gmail.com> | 2020-01-12 18:30:23 +0300 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2020-01-14 21:17:30 +0300 |
commit | 7a4c9f14dcebc035ae4377ce309c319c2974afaf (patch) | |
tree | 7a6e609eeef225d7d98cb573425872d8af0b7532 /doc/api/os.md | |
parent | 57ac09cac79d80a5b064ffffbef7ee033ddcf934 (diff) |
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: 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/os.md')
-rw-r--r-- | doc/api/os.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/os.md b/doc/api/os.md index baa98406e4f..bb5bd612382 100644 --- a/doc/api/os.md +++ b/doc/api/os.md @@ -175,7 +175,7 @@ added: v0.3.3 * Returns: {string} -Returns the hostname of the operating system as a string. +Returns the host name of the operating system as a string. ## `os.loadavg()` <!-- YAML |