Add odin [command] -help (not requiring a file to be passed)
This commit is contained in:
1 parent
7a4ec48389
commit
7e6454b2f7
1 file changed
+4
@@ -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)) {
|
||||
|
||||
Reference in new issue
Block a user