diff options
| author | 2019-12-03 05:43:43 +0100 | |
|---|---|---|
| committer | 2019-12-03 05:43:43 +0100 | |
| commit | ac461f50df2861eb9b6834ba770c3c149c72eb9c (patch) | |
| tree | 7d76dca13427d585cff36c38230d368e51fb3c20 /clap.zig | |
| parent | Add clap.parse as the simplest way of using the lib (diff) | |
| parent | update for latest zig (diff) | |
| download | zig-clap-ac461f50df2861eb9b6834ba770c3c149c72eb9c.tar.gz zig-clap-ac461f50df2861eb9b6834ba770c3c149c72eb9c.tar.xz zig-clap-ac461f50df2861eb9b6834ba770c3c149c72eb9c.zip | |
Merge pull request #12 from dbandstra/update-for-latest-zig
update for latest zig
Diffstat (limited to 'clap.zig')
| -rw-r--r-- | clap.zig | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -388,7 +388,7 @@ test "clap.help" { | |||
| 388 | var slice_stream = io.SliceOutStream.init(buf[0..]); | 388 | var slice_stream = io.SliceOutStream.init(buf[0..]); |
| 389 | try help( | 389 | try help( |
| 390 | &slice_stream.stream, | 390 | &slice_stream.stream, |
| 391 | comptime [_]Param(Help){ | 391 | comptime &[_]Param(Help){ |
| 392 | parseParam("-a Short flag. ") catch unreachable, | 392 | parseParam("-a Short flag. ") catch unreachable, |
| 393 | parseParam("-b <V1> Short option.") catch unreachable, | 393 | parseParam("-b <V1> Short option.") catch unreachable, |
| 394 | parseParam("--aa Long flag. ") catch unreachable, | 394 | parseParam("--aa Long flag. ") catch unreachable, |