diff options
author | Rich Trott <rtrott@gmail.com> | 2020-01-12 18:28:26 +0300 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2020-01-14 21:17:26 +0300 |
commit | 278442eacb907537b2d9c5c718cde3bba095af84 (patch) | |
tree | e43f57a0f9c0cdedf7698d6fe16c4140de2f0a2a /doc/api/https.md | |
parent | ac887f849ae0597ccda49149b33715397ae99993 (diff) |
doc: standardize on "host name" in https.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/https.md')
-rw-r--r-- | doc/api/https.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/https.md b/doc/api/https.md index 58741ba04f7..f6e7b88a67e 100644 --- a/doc/api/https.md +++ b/doc/api/https.md @@ -39,7 +39,7 @@ changes: * `servername` {string} the value of [Server Name Indication extension][sni wiki] to be sent to the server. Use empty string `''` to disable sending the extension. - **Default:** hostname of the target server, unless the target server + **Default:** host name of the target server, unless the target server is specified using an IP address, in which case the default is `''` (no extension). |