diff options
| author | 2021-01-10 12:34:39 +1100 | |
|---|---|---|
| committer | 2021-01-10 03:15:40 +0100 | |
| commit | fb1eb05c2114123fff3981923bacfb74ac6b03ae (patch) | |
| tree | 2f20569e10692513e5e2e4a317b938acbfdc8170 /example/help.zig | |
| parent | Support all arguments after -- being positionals (diff) | |
| download | zig-clap-fb1eb05c2114123fff3981923bacfb74ac6b03ae.tar.gz zig-clap-fb1eb05c2114123fff3981923bacfb74ac6b03ae.tar.xz zig-clap-fb1eb05c2114123fff3981923bacfb74ac6b03ae.zip | |
zig master updates
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 2775177..c210ff9 100644 --- a/example/help.zig +++ b/example/help.zig | |||
| @@ -3,7 +3,7 @@ const clap = @import("clap"); | |||
| 3 | 3 | ||
| 4 | pub fn main() !void { | 4 | pub fn main() !void { |
| 5 | const stderr_file = std.io.getStdErr(); | 5 | const stderr_file = std.io.getStdErr(); |
| 6 | var stderr_out_stream = stderr_file.outStream(); | 6 | var stderr_out_stream = stderr_file.writer(); |
| 7 | 7 | ||
| 8 | // clap.help is a function that can print a simple help message, given a | 8 | // clap.help is a function that can print a simple help message, given a |
| 9 | // slice of Param(Help). There is also a helpEx, which can print a | 9 | // slice of Param(Help). There is also a helpEx, which can print a |