build runner: add missing 'new' option to --summary error hint

This commit is contained in:
snoire 2024-06-20 16:47:40 +08:00 committed by Veikka Tuominen
parent f73be120f4
commit f7d72ce881

View File

@ -181,7 +181,7 @@ pub fn main() !void {
const next_arg = nextArg(args, &arg_idx) orelse const next_arg = nextArg(args, &arg_idx) orelse
fatalWithHint("expected [all|new|failures|none] after '{s}'", .{arg}); fatalWithHint("expected [all|new|failures|none] after '{s}'", .{arg});
summary = std.meta.stringToEnum(Summary, next_arg) orelse { 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, arg, next_arg,
}); });
}; };