mirror of
https://github.com/MasterQ32/zig-args.git
synced 2024-09-16 20:24:03 +02:00
Update to Zig master
This commit is contained in:
parent
afa26646f7
commit
091b9b7b75
1 changed files with 1 additions and 1 deletions
2
args.zig
2
args.zig
|
@ -264,7 +264,7 @@ fn parseOption(
|
|||
}
|
||||
|
||||
/// Helper function that will print an error message when a value could not be parsed, then return the same error again
|
||||
fn outputParseError(option: []const u8, err: var) !void {
|
||||
fn outputParseError(option: []const u8, err: anytype) !void {
|
||||
try std.io.getStdErr().writer().print("Failed to parse option {}: {}\n", .{
|
||||
option,
|
||||
@errorName(err),
|
||||
|
|
Loading…
Reference in a new issue