chore: remove outdated directory descriptions and trailing whitespace in src README and cli main.c

This commit is contained in:
underscorediscovery
2020-02-12 04:20:34 +00:00
parent 7725168c87
commit 20e957fedb
2 changed files with 4 additions and 19 deletions
+3 -3
View File
@@ -13,13 +13,13 @@ int main(int argc, const char* argv[])
printf(" --help Show command line usage\n");
return 0;
}
if (argc == 2 && strcmp(argv[1], "--version") == 0)
{
printf("wren %s\n", WREN_VERSION_STRING);
return 0;
}
osSetArguments(argc, argv);
WrenInterpretResult result;
@@ -35,6 +35,6 @@ int main(int argc, const char* argv[])
// Exit with an error code if the script failed.
if (result == WREN_RESULT_COMPILE_ERROR) return 65; // EX_DATAERR.
if (result == WREN_RESULT_RUNTIME_ERROR) return 70; // EX_SOFTWARE.
return getExitCode();
}