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