From fcf7cf973b366264937eff474fad064ab1416488 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Wed, 23 Jun 2021 14:55:40 +0100 Subject: [PATCH] Add documentation for `-verbose-errors` --- src/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 66f899a15..f2a397965 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1809,6 +1809,10 @@ void print_show_help(String const arg0, String const &command) { print_usage_line(1, "-warnings-as-errors"); print_usage_line(2, "Treats warning messages as error messages"); print_usage_line(0, ""); + + print_usage_line(1, "-verbose-errors"); + print_usage_line(2, "Prints verbose error messages showing the code on that line and the location in that line"); + print_usage_line(0, ""); } if (run_or_build) {