diff options
| author | 2020-11-10 18:53:57 +0100 | |
|---|---|---|
| committer | 2020-11-10 18:53:57 +0100 | |
| commit | b7e6ebf36e2ac4314e6bff65f1d64466ea82a18a (patch) | |
| tree | f979a760149f4c7a2d9b9113a872d8d7e6d56bef /example/README.md.template | |
| parent | Update ci to use 0.7.0 (diff) | |
| download | zig-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.template | 11 |
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` | 53 | There is also a `parseEx` variant that takes an argument iterator. |
| 54 | |||
| 55 | The `ComptimeClap` is the parser used by `clap.parse`. It allows the user to use a custom argument | ||
| 56 | iterator. | ||
| 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 | ||
| 71 | Currently, this parse is the only parser that allow an array of `Param` that | 64 | Currently, this parse is the only parser that allow an array of `Param` tha |
| 72 | is generated at runtime. | 65 | is generated at runtime. |
| 73 | 66 | ||
| 74 | ### `help` | 67 | ### `help` |