diff --git a/lib/compiler/resinator/cli.zig b/lib/compiler/resinator/cli.zig index 7b8ad93547e3..ea867524556f 100644 --- a/lib/compiler/resinator/cli.zig +++ b/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. diff --git a/lib/compiler/resinator/main.zig b/lib/compiler/resinator/main.zig index e4ad61c5226c..3266b7921fd8 100644 --- a/lib/compiler/resinator/main.zig +++ b/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; }