Skip to content

Commit

Permalink
Rename leftover --binding-crate to --bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed Dec 22, 2021
1 parent feb7ed5 commit ac4dde4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ enum Opt {
/// Note that this command doesn't create entrypoints
Develop {
/// Which kind of bindings to use. Possible values are pyo3, rust-cpython, cffi and bin
#[clap(short = 'b', long = "binding-crate")]
binding_crate: Option<String>,
#[clap(short = 'b', long = "bindings", alias = "binding-crate")]
bindings: Option<String>,
#[clap(
short = 'm',
long = "manifest-path",
Expand Down Expand Up @@ -365,7 +365,7 @@ fn run() -> Result<()> {
}
}
Opt::Develop {
binding_crate,
bindings,
manifest_path,
cargo_extra_args,
rustc_extra_args,
Expand All @@ -390,7 +390,7 @@ fn run() -> Result<()> {
};

develop(
binding_crate,
bindings,
&manifest_path,
cargo_extra_args,
rustc_extra_args,
Expand Down

0 comments on commit ac4dde4

Please sign in to comment.