diff --git a/src/main.cpp b/src/main.cpp index 3a72c2a9c..51dade656 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3842,6 +3842,10 @@ int main(int arg_count, char const **arg_ptr) { usage(args[0]); return 1; } + // NOTE(Jeroen): `odin root` omits a newline on purpose so that it can be used in scripts. + // e.g. `ODIN_CORE="$(odin root)core"`. + // Human convenience is not a consideration. + // Further pull requests to add a newline will be closed without comment. gb_printf("%.*s", LIT(odin_root_dir())); return 0; } else if (command == "clear-cache") {