diff options
| author | 2021-05-26 21:06:10 +0200 | |
|---|---|---|
| committer | 2021-05-26 21:06:10 +0200 | |
| commit | c7d83fcce1739271e399260b50c5f68aa03c5908 (patch) | |
| tree | f859d081955e5c8c3bc329008837d351606ec19c /example/usage.zig | |
| parent | Merge branch 'master' into zig-master (diff) | |
| download | zig-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 '')
| -rw-r--r-- | example/usage.zig | 2 |
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, |