From f7d72ce881db7162aa74ec0fa05ee3af76ecfe1c Mon Sep 17 00:00:00 2001 From: snoire Date: Thu, 20 Jun 2024 16:47:40 +0800 Subject: [PATCH] build runner: add missing 'new' option to --summary error hint --- lib/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 index 80b0c2ea3d..76fb9f22f8 100644 --- 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, }); };