mirror of
https://github.com/odin-lang/Odin.git
synced 2026-02-15 07:43:13 +00:00
Add odin [command] -help (not requiring a file to be passed)
This commit is contained in:
@@ -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