Merge pull request #6115 from bbogdan-ov/target-flag-usage-example

Show `-target` flag usage examples in the help
This commit is contained in:
gingerBill
2026-01-09 13:04:56 +00:00
committed by GitHub

View File

@@ -2971,6 +2971,10 @@ gb_internal int print_show_help(String const arg0, String command, String option
if (check) {
if (print_flag("-target:<string>")) {
print_usage_line(2, "Sets the target for the executable to be built in.");
print_usage_line(2, "Examples:");
print_usage_line(3, "-target:linux_amd64");
print_usage_line(3, "-target:windows_amd64");
print_usage_line(3, "-target:\"?\" for a list");
}
if (print_flag("-terse-errors")) {