summaryrefslogtreecommitdiff
path: root/example/simple.zig
diff options
context:
space:
mode:
authorGravatar Jimmi Holst Christensen2024-10-22 17:12:50 +0200
committerGravatar Komari Spaghetti2024-10-22 17:25:39 +0200
commit1e8036c50b3ae32af6998b813b03c3abe599754c (patch)
tree6cffa36da3cee28660cb8841d5fed9fe744b0f22 /example/simple.zig
parentchore: Correct eval branch quota comment in `countParams` (diff)
downloadzig-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 'example/simple.zig')
0 files changed, 0 insertions, 0 deletions