瀏覽代碼

Add documentation for `-verbose-errors`

gingerBill 4 年之前
父節點
當前提交
fcf7cf973b
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      src/main.cpp

+ 4 - 0
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) {