From a3d2a261f59983838e3ed5f01d90f18352e6a421 Mon Sep 17 00:00:00 2001 From: Asherah Connor Date: Fri, 28 Aug 2020 17:26:01 +1000 Subject: adjust examples, README template --- example/README.md.template | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'example/README.md.template') diff --git a/example/README.md.template b/example/README.md.template index 2afbe86..65b507d 100644 --- a/example/README.md.template +++ b/example/README.md.template @@ -14,6 +14,7 @@ into master on every `zig` release. * Supports both passing values using spacing and `=` (`-a 100`, `-a=100`) * Short args also support passing values with no spacing or `=` (`-a100`) * This all works with chaining (`-ba 100`, `-ba=100`, `-ba100`) +* Supports options that can be specified multiple times (`-e 1 -e 2 -e 3`) * Print help message from parameter specification. * Parse help message to parameter specification. @@ -28,7 +29,8 @@ The simplest way to use this library is to just call the `clap.parse` function. ``` The data structure returned has lookup speed on par with array access (`arr[i]`) and validates -that the strings you pass to `option` and `flag` are actually parameters that the program can take: +that the strings you pass to `option`, `options` and `flag` are actually parameters that the +program can take: ```zig {} -- cgit v1.2.3