Add odin [command] -help (not requiring a file to be passed)

This commit is contained in:
gingerBill
2020-01-31 23:34:00 +00:00
parent 7a4ec48389
commit 7e6454b2f7

View File

@@ -1180,6 +1180,10 @@ int main(int arg_count, char const **arg_ptr) {
return 1;
}
if (init_filename == "-help") {
build_context.show_help = true;
}
build_context.command = command;
if (!parse_build_flags(args)) {