From ce62bcaa064fc65a4f82e049424a1aecd5a913c9 Mon Sep 17 00:00:00 2001 From: Thomas Vincent Date: Mon, 19 Mar 2018 23:45:47 +0100 Subject: [PATCH] Fix the `--nb-cars` option in the example (#85) --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 87a2279d..7e038f51 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ FLAGS: -v, --verbose Verbose mode OPTIONS: - -c, --car Number of car + -c, --nb-cars Number of cars -l, --level ... admin_level to consider -o, --output Output file -s, --speed Set speed [default: 42] @@ -98,8 +98,8 @@ ARGS: ... Files to process $ ./basic -o foo.txt Opt { debug: false, verbose: 0, speed: 42, output: "foo.txt", car: None, level: [], files: [] } -$ ./basic -o foo.txt -dvvvs 1337 -l alice -l bob --car 4 bar.txt baz.txt -Opt { debug: true, verbose: 3, speed: 1337, output: "foo.txt", car: Some(4), level: ["alice", "bob"], files: ["bar.txt", "baz.txt"] } +$ ./basic -o foo.txt -dvvvs 1337 -l alice -l bob --nb-cars 4 bar.txt baz.txt +Opt { debug: true, verbose: 3, speed: 1337, output: "foo.txt", nb_cars: Some(4), level: ["alice", "bob"], files: ["bar.txt", "baz.txt"] } ``` ## Why