Skip to content

Commit

Permalink
docs(argv): Correct cli file name (#12373)
Browse files Browse the repository at this point in the history
  • Loading branch information
0livare authored Jul 5, 2024
1 parent 71c223e commit bbc621a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/guides/process/argv.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ console.log(Bun.argv);
Running this file with arguments results in the following:

```sh
$ bun run cli.tsx --flag1 --flag2 value
$ bun run cli.ts --flag1 --flag2 value
[ '/path/to/bun', '/path/to/cli.ts', '--flag1', '--flag2', 'value' ]
```

Expand Down Expand Up @@ -47,7 +47,7 @@ console.log(positionals);
then it outputs

```
$ bun run cli.tsx --flag1 --flag2 value
$ bun run cli.ts --flag1 --flag2 value
{
flag1: true,
flag2: "value",
Expand Down

0 comments on commit bbc621a

Please sign in to comment.