From b7e6ebf36e2ac4314e6bff65f1d64466ea82a18a Mon Sep 17 00:00:00 2001 From: Jimmi Holst Christensen Date: Tue, 10 Nov 2020 18:53:57 +0100 Subject: Deprecate ComptimeClap in favor of parseEx --- example/README.md.template | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'example/README.md.template') 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 _ = args.flag("--helps"); ``` -### `ComptimeClap` - -The `ComptimeClap` is the parser used by `clap.parse`. It allows the user to use a custom argument -iterator. - -```zig -{} -``` +There is also a `parseEx` variant that takes an argument iterator. ### `StreamingClap` @@ -68,7 +61,7 @@ The `StreamingClap` is the base of all the other parsers. It's a streaming parse {} ``` -Currently, this parse is the only parser that allow an array of `Param` that +Currently, this parse is the only parser that allow an array of `Param` tha is generated at runtime. ### `help` -- cgit v1.2.3