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/help.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example/help.zig') diff --git a/example/help.zig b/example/help.zig index 3cf9e42..d90373a 100644 --- a/example/help.zig +++ b/example/help.zig @@ -7,7 +7,7 @@ pub fn main() !void { // help message for any Param, but it is more verbose to call. try clap.help( 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, }, -- cgit v1.2.3