Fix --no-gc-warning

Broken by 8e758d402b
This commit is contained in:
Naïm Favier 2021-07-25 16:06:55 +02:00 committed by GitHub
parent 97be92569c
commit cefa8b673f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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({