diff options
| author | 2021-01-10 12:34:39 +1100 | |
|---|---|---|
| committer | 2021-01-10 03:15:40 +0100 | |
| commit | fb1eb05c2114123fff3981923bacfb74ac6b03ae (patch) | |
| tree | 2f20569e10692513e5e2e4a317b938acbfdc8170 /example/usage.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/usage.zig')
| -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 25e1a34..dc88c48 100644 --- a/example/usage.zig +++ b/example/usage.zig | |||
| @@ -2,7 +2,7 @@ const std = @import("std"); | |||
| 2 | const clap = @import("clap"); | 2 | const clap = @import("clap"); |
| 3 | 3 | ||
| 4 | pub fn main() !void { | 4 | pub fn main() !void { |
| 5 | const stderr = std.io.getStdErr().outStream(); | 5 | const stderr = std.io.getStdErr().writer(); |
| 6 | 6 | ||
| 7 | // clap.usage is a function that can print a simple usage message, given a | 7 | // clap.usage is a function that can print a simple usage message, given a |
| 8 | // slice of Param(Help). There is also a usageEx, which can print a | 8 | // slice of Param(Help). There is also a usageEx, which can print a |