summaryrefslogtreecommitdiff
path: root/example/streaming-clap.zig
diff options
context:
space:
mode:
authorGravatar dbandstra2019-12-01 23:10:25 -0800
committerGravatar dbandstra2019-12-01 23:20:09 -0800
commit2174a4a2e617e51fea42e114803538b9bedb9d35 (patch)
tree7d76dca13427d585cff36c38230d368e51fb3c20 /example/streaming-clap.zig
parentAdd clap.parse as the simplest way of using the lib (diff)
downloadzig-clap-2174a4a2e617e51fea42e114803538b9bedb9d35.tar.gz
zig-clap-2174a4a2e617e51fea42e114803538b9bedb9d35.tar.xz
zig-clap-2174a4a2e617e51fea42e114803538b9bedb9d35.zip
update for latest zig
Diffstat (limited to 'example/streaming-clap.zig')
-rw-r--r--example/streaming-clap.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/streaming-clap.zig b/example/streaming-clap.zig
index 0361d46..c9f20e2 100644
--- a/example/streaming-clap.zig
+++ b/example/streaming-clap.zig
@@ -30,7 +30,7 @@ pub fn main() !void {
30 30
31 // Initialize our streaming parser. 31 // Initialize our streaming parser.
32 var parser = clap.StreamingClap(u8, clap.args.OsIterator){ 32 var parser = clap.StreamingClap(u8, clap.args.OsIterator){
33 .params = params, 33 .params = &params,
34 .iter = &iter, 34 .iter = &iter,
35 }; 35 };
36 36