mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 22:58:46 +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;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (init_filename == "-help") {
|
||||||
|
build_context.show_help = true;
|
||||||
|
}
|
||||||
|
|
||||||
build_context.command = command;
|
build_context.command = command;
|
||||||
|
|
||||||
if (!parse_build_flags(args)) {
|
if (!parse_build_flags(args)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user