diff options
Diffstat (limited to 'example/help.zig')
| -rw-r--r-- | example/help.zig | 2 |
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 | }, |