From 7313e6708d8171da020893194c73d080859bb7c7 Mon Sep 17 00:00:00 2001 From: Lucy Date: Thu, 2 Apr 2026 12:17:38 -0300 Subject: [PATCH] add -o docs to usage --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index d7288e5f4..24f862e0e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2678,7 +2678,7 @@ gb_internal int print_show_help(String const arg0, String command, String option if (run_or_build) { if (print_flag("-debug")) { - print_usage_line(2, "Enables debug information, and defines the global constant ODIN_DEBUG to be 'true'."); + print_usage_line(2, "Enables debug information, and defines the global constant ODIN_DEBUG to be 'true'. Sets -o:none by default."); } } @@ -2943,7 +2943,7 @@ gb_internal int print_show_help(String const arg0, String command, String option if (LB_USE_NEW_PASS_SYSTEM) { print_usage_line(3, "-o:aggressive (use this with caution)"); } - print_usage_line(2, "The default is -o:minimal."); + print_usage_line(2, "The default is -o:minimal. If -debug is set, the default is -o:none."); }