aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-06-23 14:55:40 +0100
committergingerBill <bill@gingerbill.org>2021-06-23 14:55:40 +0100
commitfcf7cf973b366264937eff474fad064ab1416488 (patch)
tree0add3f36b77bfd8031d03fed020dd48df9f635af /src
parentd2e55f9ffa7ddc4b632c5603ba08dc956213d70b (diff)
Add documentation for `-verbose-errors`
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp4
1 files changed, 4 insertions, 0 deletions
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) {