summaryrefslogtreecommitdiff
path: root/example/README.md.template
diff options
context:
space:
mode:
authorGravatar Jimmi Holst Christensen2020-11-10 18:53:57 +0100
committerGravatar Jimmi Holst Christensen2020-11-10 18:53:57 +0100
commitb7e6ebf36e2ac4314e6bff65f1d64466ea82a18a (patch)
treef979a760149f4c7a2d9b9113a872d8d7e6d56bef /example/README.md.template
parentUpdate ci to use 0.7.0 (diff)
downloadzig-clap-b7e6ebf36e2ac4314e6bff65f1d64466ea82a18a.tar.gz
zig-clap-b7e6ebf36e2ac4314e6bff65f1d64466ea82a18a.tar.xz
zig-clap-b7e6ebf36e2ac4314e6bff65f1d64466ea82a18a.zip
Deprecate ComptimeClap in favor of parseExv0.3.0
Diffstat (limited to 'example/README.md.template')
-rw-r--r--example/README.md.template11
1 files changed, 2 insertions, 9 deletions
diff --git a/example/README.md.template b/example/README.md.template
index 65b507d..530cea4 100644
--- a/example/README.md.template
+++ b/example/README.md.template
@@ -50,14 +50,7 @@ zig-clap/example/simple-error.zig:16:18: note: called from here
50 _ = args.flag("--helps"); 50 _ = args.flag("--helps");
51``` 51```
52 52
53### `ComptimeClap` 53There is also a `parseEx` variant that takes an argument iterator.
54
55The `ComptimeClap` is the parser used by `clap.parse`. It allows the user to use a custom argument
56iterator.
57
58```zig
59{}
60```
61 54
62### `StreamingClap` 55### `StreamingClap`
63 56
@@ -68,7 +61,7 @@ The `StreamingClap` is the base of all the other parsers. It's a streaming parse
68{} 61{}
69``` 62```
70 63
71Currently, this parse is the only parser that allow an array of `Param` that 64Currently, this parse is the only parser that allow an array of `Param` tha
72is generated at runtime. 65is generated at runtime.
73 66
74### `help` 67### `help`