Skip to content

Commit

Permalink
Remove obsolete flag warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kornelski committed Dec 28, 2024
1 parent 8270c6a commit d5bf188
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,6 @@ fn main() -> ExitCode {
.after_long_help("")
.get_matches_from(std::env::args());

if matches.get_flag("backup") {
error!("The --backup flag is no longer supported. Please use --out or --dir to preserve your existing files.");
return ExitCode::FAILURE;
}

let (out_file, out_dir, opts) = match parse_opts_into_struct(&matches) {
Ok(x) => x,
Err(x) => {
Expand Down

0 comments on commit d5bf188

Please sign in to comment.