diff --git a/src/args.rs b/src/args.rs index 826ffe7..c4ea7e1 100644 --- a/src/args.rs +++ b/src/args.rs @@ -58,7 +58,7 @@ pub struct Args { pub timeout: usize, /// Weidu log setting "--autolog" is default - #[clap(env, long, short='u', default_value = "--autolog", value_parser = parse_weidu_log_mode, required = false)] + #[clap(env, long, short='u', default_value = "autolog", value_parser = parse_weidu_log_mode, required = false)] pub weidu_log_mode: String, } diff --git a/src/utils.rs b/src/utils.rs index 2be3c08..46c642e 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -26,7 +26,7 @@ pub fn copy_mod_folder(game_directory: &Path, mod_folder: &Path) { options.skip_exist = true; let copied = copy(mod_folder, game_directory, &options); if let Err(error) = copied { - log::error!("Failed to copy with error: {}", error); + log::error!("Failed to copy mod {:?} with error: {}", mod_folder, error); panic!() } }