Skip to content

Commit 0582d13

Browse files
committed
Update docs
1 parent 4f73cfd commit 0582d13

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ $ npm install wasm-run -g
1616

1717
```sh
1818
$ wasm-run --help
19-
wasm-run [options] <file> [args..]
19+
wasm-run [options] <file> [--] [args..]
2020

2121
Options:
2222
-i, --invoke Function to execute [string]

test/mal/mal.wasm

3.49 KB
Binary file not shown.

wasm-run.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const r = require("restructure");
2525
*/
2626

2727
const argv = require("yargs")
28-
.usage("$0 [options] <file> [args..]")
28+
.usage("$0 [options] <file> [--] [args..]")
2929
.example('$0 fib32.wasm 32', 'run a single exported function')
3030
.example('$0 --invoke=swap_i64 swap.wat 10 12', 'wat file with multivalue support')
3131
.example('$0 test-wasi-snapshot-preview1.wasm', 'wasi support')

0 commit comments

Comments
 (0)