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