1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-13 22:12:43 +01:00

Add trailing commas on addFlag incantations

This commit is contained in:
Graham Christensen 2025-04-07 17:18:15 -04:00
parent 596389a5f6
commit 06acbd37bd
19 changed files with 64 additions and 62 deletions

View file

@ -59,7 +59,7 @@ MixCommonArgs::MixCommonArgs(const std::string & programName)
if (hasPrefix(s.first, prefix))
completions.add(s.first, fmt("Set the `%s` setting.", s.first));
}
}
},
});
addFlag({
@ -77,7 +77,7 @@ MixCommonArgs::MixCommonArgs(const std::string & programName)
.labels = Strings{"jobs"},
.handler = {[=](std::string s) {
settings.set("max-jobs", s);
}}
}},
});
std::string cat = "Options to override configuration settings";