Skip to content
This repository was archived by the owner on Mar 27, 2026. It is now read-only.

Commit 9bcc1a0

Browse files
committed
fix version
1 parent 5ede1ae commit 9bcc1a0

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

src/cli.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,22 +27,12 @@ pub struct Args {
2727
/// Compare the latest commit on the current branch to the latest common commit with another branch
2828
#[arg(short, long)]
2929
pub branch: Option<String>,
30-
31-
/// Display the current version of RepoDiff
32-
#[arg(short, long)]
33-
pub version: bool,
3430
}
3531

3632
/// Main entry point for the CLI
3733
pub fn run() -> Result<()> {
3834
let args = Args::parse();
3935

40-
// Check if version flag is set
41-
if args.version {
42-
println!("RepoDiff version {}", VERSION);
43-
return Ok(());
44-
}
45-
4636
// Initialize the RepoDiff tool
4737
let repodiff = RepoDiff::new("config.json")?;
4838
let git_ops = GitOperations::new();

0 commit comments

Comments
 (0)