Fix typo: parmeter → parameter
This commit is contained in:
parent
772f85b883
commit
58b0bd6f63
|
@ -985,7 +985,7 @@ HighlighterAndId show_whitespaces_factory(HighlighterParameters params)
|
|||
auto get_param = [&](StringView param, StringView fallback) {
|
||||
StringView value = parser.get_switch(param).value_or(fallback);
|
||||
if (value.char_length() != 1)
|
||||
throw runtime_error{format("-{} expects a single character parmeter", param)};
|
||||
throw runtime_error{format("-{} expects a single character parameter", param)};
|
||||
return value.str();
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user