aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar DuGlaser <duglaser0618@gmail.com> 2023-09-15 07:19:37 +0900
committerGravatar GitHub <noreply@github.com> 2023-09-14 15:19:37 -0700
commita31d69bf936d0b32d16eaa5f8c914d95e46f3455 (patch)
tree8bab05441e485c3c5307184620c87197e265478b
parentf3fe4508aeef8fc6258da0284d07f7a311caaa19 (diff)
downloadbun-a31d69bf936d0b32d16eaa5f8c914d95e46f3455.tar.gz
bun-a31d69bf936d0b32d16eaa5f8c914d95e46f3455.tar.zst
bun-a31d69bf936d0b32d16eaa5f8c914d95e46f3455.zip
fix(docs): Fix the text that `bun run --bun` is the same as `bun` (#4647)
* fix(docs): Fix the text that `bun run --bun` is the same as `bun` * Updates --------- Co-authored-by: Colin McDonnell <colinmcd94@gmail.com>
-rw-r--r--docs/cli/run.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/cli/run.md b/docs/cli/run.md
index 65c4842cc..dcd7edd52 100644
--- a/docs/cli/run.md
+++ b/docs/cli/run.md
@@ -26,10 +26,11 @@ $ bun run index.ts
$ bun run index.tsx
```
-The "naked" `bun` command is equivalent to `bun run`.
+Alternatively, you can omit the `run` keyword and use the "naked" command; it behaves identically.
```bash
$ bun index.tsx
+$ bun index.js
```
### `--watch`