diff --git a/component-model/src/running-components/wasmtime.md b/component-model/src/running-components/wasmtime.md index a75a220e..5c09b37b 100644 --- a/component-model/src/running-components/wasmtime.md +++ b/component-model/src/running-components/wasmtime.md @@ -35,6 +35,6 @@ As of Wasmtime Version 33.0.0, there is [support for invoking components with cu As an example, if your component exports a function `add` which takes two numeric arguments, you can make use of this feature with the following command. ```sh -wasmtime run --invoke 'foo(1, 2)' +wasmtime run --invoke 'add(1, 2)' ``` -Make sure to wrap your invocation in single quotes abd to include parentheses, even if your function doesn't take any arguments. For a full list of ways to represent the various wit types when passing arguments to your exported function, visit the [WAVE repo](https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wasm-wave). \ No newline at end of file +Make sure to wrap your invocation in single quotes and to include parentheses, even if your function doesn't take any arguments. For a full list of ways to represent the various wit types when passing arguments to your exported function, visit the [WAVE repo](https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wasm-wave).