authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-02-09 23:44:35+01:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-02-09 23:46:19+01:00
log65c073b1475d38c4b8e004b4dd7624f7e41e3c99
tree06f133caec2ca411ac89d2802ce4c590e400d973
parentf061c0dc2851e5fab34dca1991ebe64cfd156bd5
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

generate_linux_syscalls: update usage text


1 files changed, 2 insertions(+), 2 deletions(-)

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