mirror of
https://github.com/odin-lang/Odin.git
synced 2026-02-12 14:23:33 +00:00
Merge pull request #6115 from bbogdan-ov/target-flag-usage-example
Show `-target` flag usage examples in the help
This commit is contained in:
@@ -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")) {
|
||||
|
||||
Reference in New Issue
Block a user