From 386f41e1c59cbd441ab2a4dcfc8ac95f5726105a Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Tue, 18 Aug 2015 00:28:04 +0100 Subject: [PATCH] Be more explicit about paramater parsing error --- src/main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cc b/src/main.cc index 6a92f9f8..2a4b96ac 100644 --- a/src/main.cc +++ b/src/main.cc @@ -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)));