diff --git a/wela-extractor/src/main.rs b/wela-extractor/src/main.rs index 8fc0e5ad..5f2c6ad4 100644 --- a/wela-extractor/src/main.rs +++ b/wela-extractor/src/main.rs @@ -113,13 +113,13 @@ fn main() -> Result<(), Box> { std::process::exit(1); } - let file_path = &args[1]; - let eid_subcategory_pair = load_event_id_guid_pairs(file_path)?; - - let dir = &args[2]; + let dir = &args[1]; let yml_files = list_yml_files(dir); let mut results = Vec::new(); + let file_path = &args[2]; + let eid_subcategory_pair = load_event_id_guid_pairs(file_path)?; + let out = &args[3]; for file in yml_files {