diff --git a/crates/cli/src/bin/wasm-bindgen-test-runner/main.rs b/crates/cli/src/bin/wasm-bindgen-test-runner/main.rs index 7d33d7b4208..27cff5952d9 100644 --- a/crates/cli/src/bin/wasm-bindgen-test-runner/main.rs +++ b/crates/cli/src/bin/wasm-bindgen-test-runner/main.rs @@ -28,7 +28,7 @@ mod server; mod shell; #[derive(Parser)] -#[command(version, about, long_about = None)] +#[command(name = "wasm-bindgen-test-runner", version, about, long_about = None)] struct Cli { #[arg( index = 1, diff --git a/crates/cli/src/bin/wasm2es6js.rs b/crates/cli/src/bin/wasm2es6js.rs index 20204277629..6a13a6ae550 100644 --- a/crates/cli/src/bin/wasm2es6js.rs +++ b/crates/cli/src/bin/wasm2es6js.rs @@ -5,6 +5,7 @@ use std::path::PathBuf; #[derive(Parser, Debug)] #[command( + name = "wasm2es6js", version, about, long_about = None, diff --git a/crates/cli/tests/wasm-bindgen/main.rs b/crates/cli/tests/wasm-bindgen/main.rs index 3ae132cb0c6..8961a7a4a70 100644 --- a/crates/cli/tests/wasm-bindgen/main.rs +++ b/crates/cli/tests/wasm-bindgen/main.rs @@ -120,7 +120,7 @@ fn version_useful() { .arg("-V") .assert() .stdout(str::ends_with("\n")) - .stdout(str::starts_with("wasm-bindgen-cli ")) + .stdout(str::starts_with("wasm-bindgen ")) .success(); }