summaryrefslogtreecommitdiff
path: root/example/help.zig
diff options
context:
space:
mode:
authorGravatar Komari Spaghetti2021-05-26 21:06:10 +0200
committerGravatar Komari Spaghetti2021-05-26 21:06:10 +0200
commitc7d83fcce1739271e399260b50c5f68aa03c5908 (patch)
treef859d081955e5c8c3bc329008837d351606ec19c /example/help.zig
parentMerge branch 'master' into zig-master (diff)
downloadzig-clap-c7d83fcce1739271e399260b50c5f68aa03c5908.tar.gz
zig-clap-c7d83fcce1739271e399260b50c5f68aa03c5908.tar.xz
zig-clap-c7d83fcce1739271e399260b50c5f68aa03c5908.zip
Update to latest zig in preperation for 0.8.0
Diffstat (limited to 'example/help.zig')
-rw-r--r--example/help.zig2
1 files changed, 1 insertions, 1 deletions
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 {
7 // help message for any Param, but it is more verbose to call. 7 // help message for any Param, but it is more verbose to call.
8 try clap.help( 8 try clap.help(
9 std.io.getStdErr().writer(), 9 std.io.getStdErr().writer(),
10 comptime &[_]clap.Param(clap.Help){ 10 comptime &.{
11 clap.parseParam("-h, --help Display this help and exit. ") catch unreachable, 11 clap.parseParam("-h, --help Display this help and exit. ") catch unreachable,
12 clap.parseParam("-v, --version Output version information and exit.") catch unreachable, 12 clap.parseParam("-v, --version Output version information and exit.") catch unreachable,
13 }, 13 },