summaryrefslogtreecommitdiff
path: root/example/usage.zig
diff options
context:
space:
mode:
Diffstat (limited to 'example/usage.zig')
-rw-r--r--example/usage.zig2
1 files changed, 1 insertions, 1 deletions
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 {
7 // usage message for any Param, but it is more verbose to call. 7 // usage message for any Param, but it is more verbose to call.
8 try clap.usage( 8 try clap.usage(
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 clap.parseParam(" --value <N> Output version information and exit.") catch unreachable, 13 clap.parseParam(" --value <N> Output version information and exit.") catch unreachable,