commit dfbea20d45c9e9e843ad7b4a3d13479dc38d3977 (tree)
parent 5d55999d20c4d856ad9e0bd35a939e4aa3be3d0d
Author: Alex Rønne Petersen <alex@alexrp.com>
Date: Sat, 25 Apr 2026 13:13:19 +0200
zig std: don't return an error exit code on --help
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/compiler/std-docs.zig b/lib/compiler/std-docs.zig
@@ -18,7 +18,7 @@ fn usage(io: Io) noreturn {
\\ By default, enabled unless a port is specified.
\\
) catch {};
- std.process.exit(1);
+ std.process.exit(0);
}
pub fn main(init: std.process.Init) !void {