diff --git a/bindings/rust/invoke-witc/src/lib.rs b/bindings/rust/invoke-witc/src/lib.rs index 6ca11db..7988581 100644 --- a/bindings/rust/invoke-witc/src/lib.rs +++ b/bindings/rust/invoke-witc/src/lib.rs @@ -19,7 +19,10 @@ fn name_value_meta(meta: &Meta) -> (String, String) { } fn check_version() { - let ver_output = Command::new("witc-exe").args(["version"]).output().unwrap(); + let ver_output = Command::new("witc-exe") + .args(["--version"]) + .output() + .unwrap(); let ver = String::from_utf8(ver_output.stdout).unwrap(); if ver != "0.2.0\n" { panic!("witc-exe version mismatch: expected 0.2.0, got {}", ver);