diff options
| author | 2020-08-28 17:26:01 +1000 | |
|---|---|---|
| committer | 2020-08-28 09:43:42 +0200 | |
| commit | a3d2a261f59983838e3ed5f01d90f18352e6a421 (patch) | |
| tree | 834fb4e483fd92a6b6d29ca89482fbfb87b7089a /example/streaming-clap.zig | |
| parent | reverse the order of these (diff) | |
| download | zig-clap-a3d2a261f59983838e3ed5f01d90f18352e6a421.tar.gz zig-clap-a3d2a261f59983838e3ed5f01d90f18352e6a421.tar.xz zig-clap-a3d2a261f59983838e3ed5f01d90f18352e6a421.zip | |
adjust examples, README template
Diffstat (limited to '')
| -rw-r--r-- | example/streaming-clap.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/example/streaming-clap.zig b/example/streaming-clap.zig index faf388a..b92a9e6 100644 --- a/example/streaming-clap.zig +++ b/example/streaming-clap.zig | |||
| @@ -15,11 +15,11 @@ pub fn main() !void { | |||
| 15 | clap.Param(u8){ | 15 | clap.Param(u8){ |
| 16 | .id = 'n', | 16 | .id = 'n', |
| 17 | .names = clap.Names{ .short = 'n', .long = "number" }, | 17 | .names = clap.Names{ .short = 'n', .long = "number" }, |
| 18 | .takes_value = true, | 18 | .takes_value = .One, |
| 19 | }, | 19 | }, |
| 20 | clap.Param(u8){ | 20 | clap.Param(u8){ |
| 21 | .id = 'f', | 21 | .id = 'f', |
| 22 | .takes_value = true, | 22 | .takes_value = .One, |
| 23 | }, | 23 | }, |
| 24 | }; | 24 | }; |
| 25 | 25 | ||