1
0
mirror of https://github.com/CLIUtils/CLI11.git synced 2025-04-29 12:13:52 +00:00

Fix spelling in Error.hpp (#1129)

Co-authored-by: Philip Top <phlptp@gmail.com>
This commit is contained in:
Guillem Blanco 2025-03-03 14:39:43 +01:00 committed by GitHub
parent 0eb88ed958
commit b0f63a4442
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -275,7 +275,7 @@ class ArgumentMismatch : public ParseError {
std::to_string(received));
}
static ArgumentMismatch AtMost(std::string name, int num, std::size_t received) {
return ArgumentMismatch(name + ": At Most " + std::to_string(num) + " required but received " +
return ArgumentMismatch(name + ": At most " + std::to_string(num) + " required but received " +
std::to_string(received));
}
static ArgumentMismatch TypedAtLeast(std::string name, int num, std::string type) {