Fix spelling errors

Fixed with
codespell --ignore-words-list=hist,parm,sur --skip=./core/src/imgui,./core/src/json.hpp,./core/libcorrect,./core/src/spdlog,./misc_modules/discord_integration/discord-rpc,./misc_modules/discord_integration/discord-rpc/include/rapidjson,./source_modules/sddc_source/src/libsddc --write-changes
This commit is contained in:
Daniele Forsi
2022-07-09 22:15:48 +02:00
parent 79a15ed186
commit 55b468a02e
4 changed files with 7 additions and 7 deletions

View File

@@ -79,7 +79,7 @@ int CommandArgsParser::parse(int argc, char* argv[]) {
carg.bval = true;
}
else {
printf("Invald argument, expected bool (true, false, on, off, 1, 0)\n");
printf("Invalid argument, expected bool (true, false, on, off, 1, 0)\n");
showHelp();
return -1;
}
@@ -89,7 +89,7 @@ int CommandArgsParser::parse(int argc, char* argv[]) {
carg.ival = std::stoi(arg);
}
catch (std::exception e) {
printf("Invald argument, failed to parse integer\n");
printf("Invalid argument, failed to parse integer\n");
showHelp();
return -1;
}
@@ -99,7 +99,7 @@ int CommandArgsParser::parse(int argc, char* argv[]) {
carg.fval = std::stod(arg);
}
catch (std::exception e) {
printf("Invald argument, failed to parse float\n");
printf("Invalid argument, failed to parse float\n");
showHelp();
return -1;
}