Fix another clap deprecation warning

pull/813/head
Wilfred Hughes 2025-01-03 08:44:11 +07:00
parent b570325568
commit d5e58781be
1 changed files with 4 additions and 1 deletions

@ -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