diff options
| author | 2024-10-22 17:12:50 +0200 | |
|---|---|---|
| committer | 2024-10-22 17:25:39 +0200 | |
| commit | 1e8036c50b3ae32af6998b813b03c3abe599754c (patch) | |
| tree | 6cffa36da3cee28660cb8841d5fed9fe744b0f22 /example/usage.zig | |
| parent | chore: Correct eval branch quota comment in `countParams` (diff) | |
| download | zig-clap-1e8036c50b3ae32af6998b813b03c3abe599754c.tar.gz zig-clap-1e8036c50b3ae32af6998b813b03c3abe599754c.tar.xz zig-clap-1e8036c50b3ae32af6998b813b03c3abe599754c.zip | |
feat: Add `terminating_positional` to `clap.ParseOptions`
This option makes `clap.parse` and `clap.parseEx` stop parsing after
encountering a certain positional index. Setting
`terminating_positional` to 0 will make them stop parsing after the 0th
positional has been added to `positionals` (aka after parsing 1
positional)
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions