1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-29 21:50:58 +01:00

Move some options into a misc category

This unclutters the per-command options a bit by moving out some
global options.
This commit is contained in:
Eelco Dolstra 2022-10-12 15:09:00 +02:00
parent ae2d330455
commit eba610956b
6 changed files with 10 additions and 3 deletions

View file

@ -32,6 +32,7 @@ MixCommonArgs::MixCommonArgs(const std::string & programName)
addFlag({
.longName = "option",
.description = "Set the Nix configuration setting *name* to *value* (overriding `nix.conf`).",
.category = miscCategory,
.labels = {"name", "value"},
.handler = {[](std::string name, std::string value) {
try {