Skip to content

Commit

Permalink
refactor!(cli): make dry run a flag
Browse files Browse the repository at this point in the history
Previously this had to be specified after the versions, but this was
undesired behavior.
  • Loading branch information
justinrubek committed May 4, 2024
1 parent 1376355 commit 2ba212d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ use std::path::PathBuf;
pub struct Args {
#[clap(short, long)]
pub config_file: Option<PathBuf>,
#[clap(short, long)]
pub dry_run: bool,

pub old_version: String,
pub new_version: String,

pub dry_run: bool,
}

0 comments on commit 2ba212d

Please sign in to comment.