diff --git a/README.md b/README.md index 9c1694c..eacf0af 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ Let's break down what each part means: * mod_installer(.exe): This is the name of the program you're running. [OPTIONS]: These are additional settings you can use to customize how the program works (we'll explain these in detail below). -* --log-file : This is where you tell the program where to find the "weidu.log" file. +* --log-file : This is where you tell the program where to find the "weidu.log" file, which contains the mods you want to install, please note this is not the same as the weidu.log file in the game directory. * --game-directory : This is where you tell the program where your game is installed. diff --git a/src/args.rs b/src/args.rs index 76a9638..8a00593 100644 --- a/src/args.rs +++ b/src/args.rs @@ -197,10 +197,11 @@ mod tests { abort_on_warnings: expected_flag_value, timeout: 3600, weidu_log_mode: "--autolog".to_string(), - strict_matching: false, + strict_matching: expected_flag_value, }; let test_arg_string = format!( - "mod_installer -a {} -s {} -w {} -f {} -g {} -m {}", + "mod_installer -x {} -a {} -s {} -w {} -f {} -g {} -m {}", + flag_value, flag_value, flag_value, fake_weidu_bin.to_str().unwrap_or_default(),