fixed readme
This commit is contained in:
parent
18f4f46de9
commit
c5d6aa532c
2 changed files with 2 additions and 2 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
2
main.cpp
2
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];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue