summaryrefslogtreecommitdiff
path: root/example/README.md.template
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--example/README.md.template4
1 files changed, 3 insertions, 1 deletions
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.
14* Supports both passing values using spacing and `=` (`-a 100`, `-a=100`) 14* Supports both passing values using spacing and `=` (`-a 100`, `-a=100`)
15 * Short args also support passing values with no spacing or `=` (`-a100`) 15 * Short args also support passing values with no spacing or `=` (`-a100`)
16 * This all works with chaining (`-ba 100`, `-ba=100`, `-ba100`) 16 * This all works with chaining (`-ba 100`, `-ba=100`, `-ba100`)
17* Supports options that can be specified multiple times (`-e 1 -e 2 -e 3`)
17* Print help message from parameter specification. 18* Print help message from parameter specification.
18* Parse help message to parameter specification. 19* Parse help message to parameter specification.
19 20
@@ -28,7 +29,8 @@ The simplest way to use this library is to just call the `clap.parse` function.
28``` 29```
29 30
30The data structure returned has lookup speed on par with array access (`arr[i]`) and validates 31The data structure returned has lookup speed on par with array access (`arr[i]`) and validates
31that the strings you pass to `option` and `flag` are actually parameters that the program can take: 32that the strings you pass to `option`, `options` and `flag` are actually parameters that the
33program can take:
32 34
33```zig 35```zig
34{} 36{}