zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit f7d72ce881db7162aa74ec0fa05ee3af76ecfe1c (tree)
parent f73be120f4254c080c48081dfc5834a7ebc9d9cf
Author: snoire <snoire@qq.com>
Date:   Thu, 20 Jun 2024 16:47:40 +0800

build runner: add missing 'new' option to --summary error hint
Diffstat:
Mlib/compiler/build_runner.zig | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/compiler/build_runner.zig b/lib/compiler/build_runner.zig @@ -181,7 +181,7 @@ pub fn main() !void { const next_arg = nextArg(args, &arg_idx) orelse fatalWithHint("expected [all|new|failures|none] after '{s}'", .{arg}); summary = std.meta.stringToEnum(Summary, next_arg) orelse { - fatalWithHint("expected [all|failures|none] after '{s}', found '{s}'", .{ + fatalWithHint("expected [all|new|failures|none] after '{s}', found '{s}'", .{ arg, next_arg, }); };