mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
wasm_interp: don't require -- before app arguments
This commit is contained in:
parent
0970595238
commit
736630b53f
1 changed files with 2 additions and 3 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue