Skip to content

Commit

Permalink
Added -r option as a short alias for --release
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed Mar 15, 2022
1 parent c4c8fa7 commit c526e41
Showing 1 changed file with 2 additions and 2 deletions.
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 c526e41

Please sign in to comment.