Skip to content

Commit

Permalink
Add more context to argfile error (#717)
Browse files Browse the repository at this point in the history
  • Loading branch information
passcod committed Dec 10, 2023
1 parent 4026938 commit 4a4465c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/cli/src/args.rs
Expand Up @@ -1051,7 +1051,8 @@ pub fn get_args() -> Args {
}

debug!("expanding @argfile arguments if any");
let args = argfile::expand_args(argfile::parse_fromfile, argfile::PREFIX).unwrap();
let args = argfile::expand_args(argfile::parse_fromfile, argfile::PREFIX)
.expect("while expanding @argfile");

debug!("parsing arguments");
let mut args = Args::parse_from(args);
Expand Down

0 comments on commit 4a4465c

Please sign in to comment.