Skip to content

Commit

Permalink
Merge pull request #854 from messense/short-release
Browse files Browse the repository at this point in the history
Added `-r` option as a short alias for `--release`
  • Loading branch information
messense authored Mar 15, 2022
2 parents c4c8fa7 + 0c836af commit d5a12c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
* Stop testing Python 3.6 on CI since it's already EOL in [#840](https://github.com/PyO3/maturin/pull/840)
* Update workspace members for sdist local dependencies in [#844](https://github.com/PyO3/maturin/pull/844)
* Migrate docker image to github container registry in [#845](https://github.com/PyO3/maturin/pull/845)
* Add `-r` option as a short alias for `--release` in [#854](https://github.com/PyO3/maturin/pull/854)

## [0.12.10] - 2022-03-09

Expand Down
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ enum Opt {
#[clap(flatten)]
build: BuildOptions,
/// Pass --release to cargo
#[clap(long)]
#[clap(short = 'r', long)]
release: bool,
/// Strip the library for minimum file size
#[clap(long)]
Expand Down Expand Up @@ -77,7 +77,7 @@ enum Opt {
/// The path to the Cargo.toml
manifest_path: PathBuf,
/// Pass --release to cargo
#[clap(long)]
#[clap(short = 'r', long)]
release: bool,
/// Strip the library for minimum file size
#[clap(long)]
Expand Down

0 comments on commit d5a12c9

Please sign in to comment.