Skip to content

Commit

Permalink
fix len bug
Browse files Browse the repository at this point in the history
  • Loading branch information
j03-dev committed Oct 17, 2023
1 parent 8f7330e commit d35d0b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ impl Args {
fn args_parser() -> Option<Args> {
let args: Vec<String> = env::args().collect();
match args.len() {
2 => Some(Args::new(&args[1], &args[2])),
2 => Some(Args::new(&args[0], &args[1])),
_ => None,
}
}
Expand Down

0 comments on commit d35d0b8

Please sign in to comment.