diff --git a/src/main.rs b/src/main.rs index 4fba0b4..244bfbc 100644 --- a/src/main.rs +++ b/src/main.rs @@ -21,7 +21,7 @@ enum Commands { VPKContents, BSPContents, DownloadMeshes(PathBufList), - Extract(PathBufList), + ExtractScripts(PathBufList), WriteAttributes, Interactive, Replace, @@ -50,7 +50,7 @@ fn main() -> AResult<()> { Commands::BSPContents=>bsp_contents(cli.path.unwrap()), Commands::ConvertTextures=>convert_textures(), Commands::DownloadMeshes(pathlist)=>download_meshes(pathlist.paths), - Commands::Extract(pathlist)=>extract(pathlist.paths), + Commands::ExtractScripts(pathlist)=>extract_scripts(pathlist.paths), Commands::WriteAttributes=>write_attributes(), Commands::Interactive=>interactive(), Commands::Replace=>replace(), @@ -589,7 +589,7 @@ fn scan() -> AResult<()>{ Ok(()) } -fn extract(paths: Vec) -> AResult<()>{ +fn extract_scripts(paths: Vec) -> AResult<()>{ let mut id = 0; //Construct allowed scripts let mut script_set = std::collections::HashSet::::new();