summaryrefslogtreecommitdiff
path: root/std/manual.md
diff options
context:
space:
mode:
Diffstat (limited to 'std/manual.md')
-rw-r--r--std/manual.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/std/manual.md b/std/manual.md
index 3d74259ef..fa813a929 100644
--- a/std/manual.md
+++ b/std/manual.md
@@ -366,7 +366,7 @@ Example:
```ts
// create subprocess
const p = Deno.run({
- args: ["echo", "hello"]
+ cmd: ["echo", "hello"]
});
// await its completion
@@ -393,7 +393,7 @@ you can use `"piped"` option.
const fileNames = Deno.args;
const p = Deno.run({
- args: [
+ cmd: [
"deno",
"run",
"--allow-read",