diff options
Diffstat (limited to 'example/simple.zig')
| -rw-r--r-- | example/simple.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/simple.zig b/example/simple.zig index 7f1bfc0..74157a6 100644 --- a/example/simple.zig +++ b/example/simple.zig | |||
| @@ -32,7 +32,7 @@ pub fn main() !void { | |||
| 32 | std.debug.print("--number = {}\n", .{n}); | 32 | std.debug.print("--number = {}\n", .{n}); |
| 33 | for (res.args.string) |s| | 33 | for (res.args.string) |s| |
| 34 | std.debug.print("--string = {s}\n", .{s}); | 34 | std.debug.print("--string = {s}\n", .{s}); |
| 35 | for (res.positionals) |pos| | 35 | for (res.positionals[0]) |pos| |
| 36 | std.debug.print("{s}\n", .{pos}); | 36 | std.debug.print("{s}\n", .{pos}); |
| 37 | } | 37 | } |
| 38 | 38 | ||