From d4b027447bd4decba608be75931214071541e2e1 Mon Sep 17 00:00:00 2001 From: Volodymyr Patuta <6977238-fiplox@users.noreply.gitlab.com> Date: Sun, 8 Nov 2020 21:43:15 +0100 Subject: [PATCH] added flag --- README.md | 1 + src/main.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fd73c08..7281e83 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,7 @@ You can find more information in the [subject](https://framagit.org/mhart/Dancin -h, --help Prints help information -V, --version Prints version information -w, --random-world Generate random world + -r, --random Generate random world with random robots -f, --file Configuration file ``` ## Authors diff --git a/src/main.rs b/src/main.rs index aabe45f..52eebf3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -216,7 +216,7 @@ fn main() -> Result<(), Box> { .short("r") .long("random") .takes_value(false) - .help("Generate random world"), + .help("Generate random world with random robots"), ) .get_matches();