mirror of
https://github.com/CLIUtils/CLI11.git
synced 2025-04-29 20:23:55 +00:00
Fix spelling in Error.hpp (#1129)
Co-authored-by: Philip Top <phlptp@gmail.com>
This commit is contained in:
parent
0eb88ed958
commit
b0f63a4442
@ -275,7 +275,7 @@ class ArgumentMismatch : public ParseError {
|
|||||||
std::to_string(received));
|
std::to_string(received));
|
||||||
}
|
}
|
||||||
static ArgumentMismatch AtMost(std::string name, int num, std::size_t 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));
|
std::to_string(received));
|
||||||
}
|
}
|
||||||
static ArgumentMismatch TypedAtLeast(std::string name, int num, std::string type) {
|
static ArgumentMismatch TypedAtLeast(std::string name, int num, std::string type) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user