mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-26 13:01:34 +03:00
generate_linux_syscalls: update usage text
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user