Merge pull request #5046 from ncfavier/patch-1

Fix --no-gc-warning
This commit is contained in:
Eelco Dolstra 2021-07-27 09:55:25 +02:00 committed by GitHub
commit f52fa47e16
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({