From 984c22948b70bd1cbfef9f2d514d42e27541c1f1 Mon Sep 17 00:00:00 2001 From: Jimmi Holst Christensen Date: Wed, 30 Mar 2022 16:28:16 +0200 Subject: New `help` api that provides options as to how paramters are printed. fixes \#28 --- 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 64d1709..18d61b9 100644 --- a/example/help.zig +++ b/example/help.zig @@ -15,5 +15,5 @@ pub fn main() !void { // slice of Param(Help). There is also a helpEx, which can print a // help message for any Param, but it is more verbose to call. if (res.args.help) - return clap.help(std.io.getStdErr().writer(), clap.Help, ¶ms); + return clap.help(std.io.getStdErr().writer(), clap.Help, ¶ms, .{}); } -- cgit v1.2.3