| ... | ... | @@ -20,9 +20,9 @@ static int usage(const char *arg0) { |
| 20 | 20 | fprintf(stderr, "Usage: %s [command] [options]\n" |
| 21 | 21 | "Commands:\n" |
| 22 | 22 | " build build project from build.zig\n" |
| 23 | | " build_exe [source] create executable from source or object files\n" |
| 24 | | " build_lib [source] create library from source or object files\n" |
| 25 | | " build_obj [source] create object from source or assembly\n" |
| 23 | " build-exe [source] create executable from source or object files\n" |
| 24 | " build-lib [source] create library from source or object files\n" |
| 25 | " build-obj [source] create object from source or assembly\n" |
| 26 | 26 | " parsec [source] convert c code to zig code\n" |
| 27 | 27 | " targets list available compilation targets\n" |
| 28 | 28 | " test [source] create and run a test build\n" |
| ... | ... | @@ -457,13 +457,13 @@ int main(int argc, char **argv) { |
| 457 | 457 | } |
| 458 | 458 | } |
| 459 | 459 | } else if (cmd == CmdInvalid) { |
| 460 | | if (strcmp(arg, "build_exe") == 0) { |
| 460 | if (strcmp(arg, "build-exe") == 0) { |
| 461 | 461 | cmd = CmdBuild; |
| 462 | 462 | out_type = OutTypeExe; |
| 463 | | } else if (strcmp(arg, "build_obj") == 0) { |
| 463 | } else if (strcmp(arg, "build-obj") == 0) { |
| 464 | 464 | cmd = CmdBuild; |
| 465 | 465 | out_type = OutTypeObj; |
| 466 | | } else if (strcmp(arg, "build_lib") == 0) { |
| 466 | } else if (strcmp(arg, "build-lib") == 0) { |
| 467 | 467 | cmd = CmdBuild; |
| 468 | 468 | out_type = OutTypeLib; |
| 469 | 469 | } else if (strcmp(arg, "version") == 0) { |