diff --git a/src/main.rs b/src/main.rs index 37f9595..8292528 100644 --- a/src/main.rs +++ b/src/main.rs @@ -125,7 +125,7 @@ fn main() -> Result<(), Box> { .get_matches(); let mut robot_pool: Vec = Vec::new(); - let raw_conf = open_file("two_robots.txt")?; + let raw_conf = open_file(matches.value_of("file").unwrap())?; Ok(()) }