summaryrefslogtreecommitdiff
path: root/example/help.zig
diff options
context:
space:
mode:
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 dd9c9ea..e83ae44 100644
--- a/example/help.zig
+++ b/example/help.zig
@@ -15,6 +15,6 @@ pub fn main() !void {
15 // where `Id` has a `describtion` and `value` method (`Param(Help)` is one such parameter). 15 // where `Id` has a `describtion` and `value` method (`Param(Help)` is one such parameter).
16 // The last argument contains options as to how `help` should print those parameters. Using 16 // The last argument contains options as to how `help` should print those parameters. Using
17 // `.{}` means the default options. 17 // `.{}` means the default options.
18 if (res.args.help) 18 if (res.args.help != 0)
19 return clap.help(std.io.getStdErr().writer(), clap.Help, &params, .{}); 19 return clap.help(std.io.getStdErr().writer(), clap.Help, &params, .{});
20} 20}