summaryrefslogtreecommitdiff
path: root/example/simple.zig
diff options
context:
space:
mode:
authorGravatar joachimschmidt5572020-04-11 14:11:08 +0200
committerGravatar joachimschmidt5572020-04-11 14:11:08 +0200
commitd83747d4d57b339ce2cc42b785436126a8e8c4c6 (patch)
tree3f41de0468c54af73010701313124302dc74b4be /example/simple.zig
parentMerge pull request #16 from joachimschmidt557/zig-master (diff)
downloadzig-clap-d83747d4d57b339ce2cc42b785436126a8e8c4c6.tar.gz
zig-clap-d83747d4d57b339ce2cc42b785436126a8e8c4c6.tar.xz
zig-clap-d83747d4d57b339ce2cc42b785436126a8e8c4c6.zip
update examples to latest zig
Diffstat (limited to 'example/simple.zig')
-rw-r--r--example/simple.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/simple.zig b/example/simple.zig
index 5ac204d..d546223 100644
--- a/example/simple.zig
+++ b/example/simple.zig
@@ -14,7 +14,7 @@ pub fn main() !void {
14 }, 14 },
15 }; 15 };
16 16
17 var args = try clap.parse(clap.Help, &params, std.heap.direct_allocator); 17 var args = try clap.parse(clap.Help, &params, std.heap.page_allocator);
18 defer args.deinit(); 18 defer args.deinit();
19 19
20 if (args.flag("--help")) 20 if (args.flag("--help"))