Update to Zig master
This commit is contained in:
parent
afa26646f7
commit
091b9b7b75
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 New Issue
Block a user