Skip to content

Commit

Permalink
Fix CLI binary names (#4355)
Browse files Browse the repository at this point in the history
  • Loading branch information
daxpedda authored Dec 15, 2024
1 parent 7e5f2f1 commit 69607f6
Show file tree
Hide file tree
Showing 4 changed files with 4 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/wasm-bindgen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ use wasm_bindgen_cli_support::{Bindgen, EncodeInto};

#[derive(Debug, Parser)]
#[command(
name = "wasm-bindgen",
version,
about,
long_about = None,
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 69607f6

Please sign in to comment.