aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-03-16 17:04:10 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-03-16 17:04:10 -0400
commitf4f5fd4fdd9315667f048c578f3a441e6710250d (patch)
tree2385ca53246b347a589c2b6f6ac3b0d2c1d0f387 /docs
parent67191b70789de3ef723561f26587903dc1dc698f (diff)
Fix docs
Diffstat (limited to 'docs')
-rw-r--r--docs/shell.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/shell.md b/docs/shell.md
index 6ccae994..478f7083 100644
--- a/docs/shell.md
+++ b/docs/shell.md
@@ -16,7 +16,7 @@ user-controlled string is automatically escaped when performing interpolation.
- [`func by_line(command: Shell -> Void)`](#by_line)
- [`func execute(command: Shell -> Int32?)`](#execute)
- [`func run(command: Shell -> Text?)`](#run)
-- [`func run(command: Shell -> [Byte]?)`](#run_bytes)
+- [`func run_bytes(command: Shell -> [Byte]?)`](#run_bytes)
### `by_line`
Run a shell command and return an iterator over its output, line-by-line.
@@ -85,7 +85,7 @@ if there is a trailing newline, it will be stripped.
Run a shell command and return the output in raw bytes from `stdout`.
```tomo
-func run(command: Shell -> [Byte]?)
+func run_bytes(command: Shell -> [Byte]?)
```
- `command`: The command to run.