diff --git a/src/main.rs b/src/main.rs index 22feaca..0075f30 100644 --- a/src/main.rs +++ b/src/main.rs @@ -239,6 +239,12 @@ fn main() -> Result<(), Box> { .takes_value(true) .help("Configuration file"), ) + .arg( + Arg::with_name("random-world") + .long("random-world") + .takes_value(false) + .help("Generate random world"), + ) .get_matches(); let raw_conf = open_file(matches.value_of("file").unwrap_or("two_robots.txt"))?;