Ver Fonte

Revert "List the supported targets using `odin targets`"

This reverts commit b589e3c499649aa956a9ebf98ae2aca260156471.
bayo-code há 10 meses atrás
pai
commit
9fbde3c1b8
1 ficheiros alterados com 0 adições e 7 exclusões
  1. 0 7
      src/main.cpp

+ 0 - 7
src/main.cpp

@@ -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();