From c7d83fcce1739271e399260b50c5f68aa03c5908 Mon Sep 17 00:00:00 2001 From: Komari Spaghetti Date: Wed, 26 May 2021 21:06:10 +0200 Subject: Update to latest zig in preperation for 0.8.0 --- example/usage.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example/usage.zig') diff --git a/example/usage.zig b/example/usage.zig index e044f1d..7956570 100644 --- a/example/usage.zig +++ b/example/usage.zig @@ -7,7 +7,7 @@ pub fn main() !void { // usage message for any Param, but it is more verbose to call. try clap.usage( std.io.getStdErr().writer(), - comptime &[_]clap.Param(clap.Help){ + comptime &.{ clap.parseParam("-h, --help Display this help and exit. ") catch unreachable, clap.parseParam("-v, --version Output version information and exit.") catch unreachable, clap.parseParam(" --value Output version information and exit.") catch unreachable, -- cgit v1.2.3