Skip to content

Commit

Permalink
Fix another clap deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Wilfred committed Jan 4, 2025
1 parent b570325 commit d5e5878
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,10 @@ pub(crate) fn parse_args() -> Mode {
strip_cr,
};

let args: Vec<_> = matches.values_of_os("paths").unwrap_or_default().collect();
let args = matches
.get_raw("paths")
.unwrap_or_default()
.collect::<Vec<_>>();
info!("CLI arguments: {:?}", args);

// Print git environment variables so we can see the additional
Expand Down

0 comments on commit d5e5878

Please sign in to comment.