wasm_interp: don't require -- before app arguments

This commit is contained in:
Brian Carroll 2022-12-02 21:45:36 +00:00
parent 0970595238
commit 736630b53f
No known key found for this signature in database
GPG key ID: 5C7B2EC4101703C0

View file

@ -42,10 +42,9 @@ fn main() -> io::Result<()> {
.required(true);
let args_for_app = Arg::new(ARGS_FOR_APP)
.help("Arguments to pass into the WebAssembly app\ne.g. `roc_wasm_interp app.wasm -- 123 123.45`")
.help("Arguments to pass into the WebAssembly app\ne.g. `roc_wasm_interp app.wasm 123 123.45`")
.multiple_values(true)
.takes_value(true)
.last(true);
.takes_value(true);
let app = Command::new("roc_wasm_interp")
.about("Run the given .wasm file")