diff --git a/src/main.rs b/src/main.rs index 8292528..95c945d 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(matches.value_of("file").unwrap())?; + let raw_conf = open_file(matches.value_of("file").unwrap_or("two_robots.txt"))?; Ok(()) }