summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jimmi Holst Christensen2026-01-07 21:07:25 +0100
committerGravatar Jimmi Holst Christensen2026-01-07 21:07:25 +0100
commitefa85b280f66f6f8416a6ed7257d0351d9d48023 (patch)
treec1cf447336be40628756425c567a8140c958d6e6
parentchore: Update examples in README to use new std.Io (diff)
downloadzig-clap-efa85b280f66f6f8416a6ed7257d0351d9d48023.tar.gz
zig-clap-efa85b280f66f6f8416a6ed7257d0351d9d48023.tar.xz
zig-clap-efa85b280f66f6f8416a6ed7257d0351d9d48023.zip
fix: Regression in simple-ex exampleHEADmaster
-rw-r--r--example/simple-ex.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/simple-ex.zig b/example/simple-ex.zig
index f6a1c7f..0d90b69 100644
--- a/example/simple-ex.zig
+++ b/example/simple-ex.zig
@@ -30,7 +30,7 @@ pub fn main() !void {
30 var diag = clap.Diagnostic{}; 30 var diag = clap.Diagnostic{};
31 var res = clap.parse(clap.Help, &params, parsers, .{ 31 var res = clap.parse(clap.Help, &params, parsers, .{
32 .diagnostic = &diag, 32 .diagnostic = &diag,
33 .allocator = gpa.allocator(), 33 .allocator = gpa,
34 // The assignment separator can be configured. `--number=1` and `--number:1` is now 34 // The assignment separator can be configured. `--number=1` and `--number:1` is now
35 // allowed. 35 // allowed.
36 .assignment_separators = "=:", 36 .assignment_separators = "=:",