1
1
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:
Maxime Coste 2015-08-18 00:28:04 +01:00
parent 6c8c346311
commit 386f41e1c5

View File

@ -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)));