Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add -r option as a short alias for --release #854

Merged
merged 1 commit into from
Mar 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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