diff --git a/tools/generate_linux_syscalls.zig b/tools/generate_linux_syscalls.zig index 70d410f806b35999af5950f67cf8faecfb951fa7..403c09d3438f97546120bb40f27eefc8ab58072e 100644 --- a/tools/generate_linux_syscalls.zig +++ b/tools/generate_linux_syscalls.zig @@ -250,8 +250,8 @@ pub fn main(init: std.process.Init) !void { fn usage(w: *std.Io.Writer, arg0: []const u8) std.Io.Writer.Error!void { try w.print( - \\Usage: {s} /path/to/zig /path/to/linux - \\Alternative Usage: zig run /path/to/git/zig/tools/generate_linux_syscalls.zig -- /path/to/zig /path/to/linux + \\Usage: {s} /path/to/linux + \\Alternative Usage: zig run /path/to/git/zig/tools/generate_linux_syscalls.zig -- /path/to/linux \\ \\Generates the list of Linux syscalls for each supported cpu arch, using the Linux development tree. \\Prints to stdout Zig code which you can use to replace the file lib/std/os/linux/syscalls.zig.