diff --git a/lib/compiler/resinator/cli.zig b/lib/compiler/resinator/cli.zig index 7b8ad93547e3b806f2342757f6fae27618fe5f5f..ea867524556f850f4cf08d8ae7aa39d0dcdd969b 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 e4ad61c5226ce67aa45bbd044a244aee20d8f11a..3266b7921fd814c68ce17532cb8710ec796da5f3 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; }