diff options
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` |