mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-29 10:02:57 +03:00
Be more explicit about paramater parsing error
This commit is contained in:
parent
6c8c346311
commit
386f41e1c5
@ -641,7 +641,7 @@ int main(int argc, char* argv[])
|
||||
}
|
||||
catch (Kakoune::parameter_error& error)
|
||||
{
|
||||
write_stderr(format("Error: {}\n"
|
||||
write_stderr(format("Error while parsing parameters: {}\n"
|
||||
"Valid switches:\n"
|
||||
"{}", error.what(),
|
||||
generate_switches_doc(param_desc.switches)));
|
||||
|
Loading…
Reference in New Issue
Block a user