generate_linux_syscalls: update usage text

This commit is contained in:
Alex Rønne Petersen
2026-02-09 23:44:35 +01:00
parent f061c0dc28
commit 65c073b147
+2 -2
View File
@@ -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.