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-09-15 03:28:27 +0300
committerRich Trott <rtrott@gmail.com>2020-09-17 12:01:07 +0300
commitc205f672e9cf0c70ea26f87eb97342947a244e18 (patch)
tree876d9901087811e63f1da5b41b22a456e62f87b9 /doc/api/v8.md
parent18462e0c1d5f3b3a3e86b7b40fb65975f1e27381 (diff)
doc: use command-line/command line consistently
Docs switch between "command line" and "command-line" with no apparent uniformity. Microsoft Style Guide prescribes "command line" as a noun and "command-line" as a modifier, which makes a lot of sense to me. Updating docs as appropriate. PR-URL: https://github.com/nodejs/node/pull/35198 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'doc/api/v8.md')
-rw-r--r--doc/api/v8.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/v8.md b/doc/api/v8.md
index 921c4378199..a70567475f0 100644
--- a/doc/api/v8.md
+++ b/doc/api/v8.md
@@ -21,7 +21,7 @@ added: v8.0.0
* Returns: {integer}
Returns an integer representing a "version tag" derived from the V8 version,
-command line flags and detected CPU features. This is useful for determining
+command-line flags and detected CPU features. This is useful for determining
whether a [`vm.Script`][] `cachedData` buffer is compatible with this instance
of V8.
@@ -198,7 +198,7 @@ added: v1.0.0
* `flags` {string}
The `v8.setFlagsFromString()` method can be used to programmatically set
-V8 command line flags. This method should be used with care. Changing settings
+V8 command-line flags. This method should be used with care. Changing settings
after the VM has started may result in unpredictable behavior, including
crashes and data loss; or it may simply do nothing.