fixed readme

This commit is contained in:
Jorijn van der Graaf 2024-12-29 17:54:57 +01:00
commit c5d6aa532c
2 changed files with 2 additions and 2 deletions

View file

@ -63,7 +63,7 @@ Save and close, then run ``crafter-build -c debug``. Now you can run the ``hello
``-c`` The name of the configuration to build.
``-p`` The name of the project file.
``-p`` The path to the project file, defaults to ``project.json``.
``-o`` Overrides the output folder.

View file

@ -38,7 +38,7 @@ int main(int argc, char* argv[]) {
for (std::uint_fast32_t i = 1; i < argc; i++) {
std::string arg = std::string(argv[i]);
if(arg == "--help"){
std::println("--help\tDisplays this help message.\n-c The name of the configuration to build.\n-p The path to the project file.\n-o Overrides the output folder.\n");
std::println("--help\tDisplays this help message.\n-c The name of the configuration to build.\n-p The path to the project file. defualts to project.json\n-o Overrides the output folder.\n");
return 0;
} else if(arg == "-c"){
configuration = argv[++i];