Revert "List the supported targets using odin targets"

This reverts commit b589e3c499.
This commit is contained in:
bayo-code
2024-11-11 04:09:53 +01:00
parent b589e3c499
commit d5b221f972

View File

@@ -288,7 +288,6 @@ gb_internal void usage(String argv0, String argv1 = {}) {
print_usage_line(1, "test Builds and runs procedures with the attribute @(test) in the initial package.");
print_usage_line(1, "doc Generates documentation on a directory of .odin files.");
print_usage_line(1, "version Prints version.");
print_usage_line(1, "targets Prints the supported targets.");
print_usage_line(1, "report Prints information useful to reporting a bug.");
print_usage_line(1, "root Prints the root path where Odin looks for the builtin collections.");
print_usage_line(0, "");
@@ -3183,12 +3182,6 @@ int main(int arg_count, char const **arg_ptr) {
gb_printf("\n");
return 0;
} else if (command == "targets") {
gb_printf_err("All supported targets:\n");
for (isize i = 0; i < gb_count_of(named_targets); i++) {
gb_printf_err("\t%.*s\n", LIT(named_targets[i].name));
}
return 0;
} else if (command == "report") {
build_context.command_kind = Command_bug_report;
print_bug_report_help();