Skip to content

Commit

Permalink
Fix CLI binary names
Browse files Browse the repository at this point in the history
  • Loading branch information
daxpedda committed Dec 15, 2024
1 parent 7e5f2f1 commit 3c1d0e0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/cli/src/bin/wasm-bindgen-test-runner/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions crates/cli/src/bin/wasm2es6js.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ use std::path::PathBuf;

#[derive(Parser, Debug)]
#[command(
name = "wasm2es6js",
version,
about,
long_about = None,
Expand Down
2 changes: 1 addition & 1 deletion crates/cli/tests/wasm-bindgen/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit 3c1d0e0

Please sign in to comment.