diff options
Diffstat (limited to 'example/simple-ex.zig')
| -rw-r--r-- | example/simple-ex.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/simple-ex.zig b/example/simple-ex.zig index 4ca9791..154e486 100644 --- a/example/simple-ex.zig +++ b/example/simple-ex.zig | |||
| @@ -44,7 +44,7 @@ pub fn main() !void { | |||
| 44 | std.debug.print("--answer = {s}\n", .{@tagName(a)}); | 44 | std.debug.print("--answer = {s}\n", .{@tagName(a)}); |
| 45 | for (res.args.string) |s| | 45 | for (res.args.string) |s| |
| 46 | std.debug.print("--string = {s}\n", .{s}); | 46 | std.debug.print("--string = {s}\n", .{s}); |
| 47 | for (res.positionals) |pos| | 47 | for (res.positionals[0]) |pos| |
| 48 | std.debug.print("{s}\n", .{pos}); | 48 | std.debug.print("{s}\n", .{pos}); |
| 49 | } | 49 | } |
| 50 | 50 | ||