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/wasi.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/wasi.md')
-rw-r--r--doc/api/wasi.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/wasi.md b/doc/api/wasi.md
index b08c6c5558f..85a75bd104f 100644
--- a/doc/api/wasi.md
+++ b/doc/api/wasi.md
@@ -83,7 +83,7 @@ added:
The `WASI` class provides the WASI system call API and additional convenience
methods for working with WASI-based applications. Each `WASI` instance
represents a distinct sandbox environment. For security purposes, each `WASI`
-instance must have its command line arguments, environment variables, and
+instance must have its command-line arguments, environment variables, and
sandbox directory structure configured explicitly.
### `new WASI([options])`
@@ -95,7 +95,7 @@ added:
* `options` {Object}
* `args` {Array} An array of strings that the WebAssembly application will
- see as command line arguments. The first argument is the virtual path to the
+ see as command-line arguments. The first argument is the virtual path to the
WASI command itself. **Default:** `[]`.
* `env` {Object} An object similar to `process.env` that the WebAssembly
application will see as its environment. **Default:** `{}`.