aboutsummaryrefslogtreecommitdiff
path: root/src/libmain/shared.cc
diff options
context:
space:
mode:
authorNaïm Favier <n@monade.li>2021-07-25 16:06:55 +0200
committerGitHub <noreply@github.com>2021-07-25 16:06:55 +0200
commitcefa8b673f0b60789a24134c96f98860291d239e (patch)
treed226de0a41cc64e55805ace891ff26e46af32873 /src/libmain/shared.cc
parent97be92569ca8294a8bc0977cb59ce7dcbdbc6c36 (diff)
Fix --no-gc-warning
Broken by 8e758d402ba1045c7b8273f8cb1d6d8d917ca52b
Diffstat (limited to 'src/libmain/shared.cc')
-rw-r--r--src/libmain/shared.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmain/shared.cc b/src/libmain/shared.cc
index 86930c2e3..3a9529c4d 100644
--- a/src/libmain/shared.cc
+++ b/src/libmain/shared.cc
@@ -238,7 +238,7 @@ LegacyArgs::LegacyArgs(const std::string & programName,
addFlag({
.longName = "no-gc-warning",
.description = "Disable warnings about not using `--add-root`.",
- .handler = {&gcWarning, true},
+ .handler = {&gcWarning, false},
});
addFlag({