diff --git a/README.md b/README.md index 289ed0d..e014149 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/main.cpp b/main.cpp index bac01a6..95e9512 100644 --- a/main.cpp +++ b/main.cpp @@ -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];