Commit 9c9d3931df
lib/compiler/resinator/cli.zig
@@ -17,6 +17,7 @@ pub const usage_string_after_command_name =
\\This is necessary when the input path begins with a forward slash.
\\
\\Supported option prefixes are /, -, and --, so e.g. /h, -h, and --h all work.
+ \\Drop-in compatible with the Microsoft Resource Compiler.
\\
\\Supported Win32 RC Options:
\\ /?, /h Print this help and exit.
lib/compiler/resinator/main.zig
@@ -81,7 +81,8 @@ pub fn main() !void {
defer options.deinit();
if (options.print_help_and_exit) {
- try cli.writeUsage(stderr.writer(), "zig rc");
+ const stdout = std.io.getStdOut();
+ try cli.writeUsage(stdout.writer(), "zig rc");
return;
}