mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Allow both -help and --help if passed as init_filename
This commit is contained in:
+2
-1
@@ -2541,7 +2541,8 @@ int main(int arg_count, char const **arg_ptr) {
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (init_filename == "-help") {
|
if (init_filename == "-help" ||
|
||||||
|
init_filename == "--help") {
|
||||||
build_context.show_help = true;
|
build_context.show_help = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user