summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2015-08-18 00:28:04 +0100
committerMaxime Coste <frrrwww@gmail.com>2015-08-18 00:28:04 +0100
commit386f41e1c59cbd441ab2a4dcfc8ac95f5726105a (patch)
tree34263cc1532dcb48426e15fbc682cd8e889672d4 /src
parent6c8c34631118fea3f20952677df3b98b6bae0b95 (diff)
Be more explicit about paramater parsing error
Diffstat (limited to 'src')
-rw-r--r--src/main.cc2
1 files changed, 1 insertions, 1 deletions
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)));