aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2024-01-05 13:47:00 +0000
committergingerBill <bill@gingerbill.org>2024-01-05 13:47:00 +0000
commitd7d23e65eae616d44cc070edff8171eb3160b5b0 (patch)
treee1e4961377097f335ec061758a6c0ef02907ec7b /src/main.cpp
parent2820bbc269bb989052163544f2764bc4287254e4 (diff)
Clean up error block usage
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 4d4e01ada..fd754248b 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1160,10 +1160,12 @@ gb_internal bool parse_build_flags(Array<String> args) {
case BuildFlag_TerseErrors:
build_context.hide_error_line = true;
+ build_context.terse_errors = true;
break;
case BuildFlag_VerboseErrors:
gb_printf_err("-verbose-errors is not the default, -terse-errors can now disable it\n");
build_context.hide_error_line = false;
+ build_context.terse_errors = false;
break;
case BuildFlag_ErrorPosStyle: