We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f73cfd commit 0582d13Copy full SHA for 0582d13
README.md
@@ -16,7 +16,7 @@ $ npm install wasm-run -g
16
17
```sh
18
$ wasm-run --help
19
-wasm-run [options] <file> [args..]
+wasm-run [options] <file> [--] [args..]
20
21
Options:
22
-i, --invoke Function to execute [string]
test/mal/mal.wasm
3.49 KB
wasm-run.js
@@ -25,7 +25,7 @@ const r = require("restructure");
25
*/
26
27
const argv = require("yargs")
28
- .usage("$0 [options] <file> [args..]")
+ .usage("$0 [options] <file> [--] [args..]")
29
.example('$0 fib32.wasm 32', 'run a single exported function')
30
.example('$0 --invoke=swap_i64 swap.wat 10 12', 'wat file with multivalue support')
31
.example('$0 test-wasi-snapshot-preview1.wasm', 'wasi support')
0 commit comments