1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-03 14:31:46 +02:00

Remove commented code

Some four years old; time to go
This commit is contained in:
Robert Hensing 2025-03-18 08:14:07 +00:00
parent fe00dfbd56
commit 9ff8309f47

View file

@ -29,7 +29,6 @@ struct MixDryRun : virtual Args
addFlag({ addFlag({
.longName = "dry-run", .longName = "dry-run",
.description = "Show what this command would do without doing it.", .description = "Show what this command would do without doing it.",
//.category = commonArgsCategory,
.handler = {&dryRun, true}, .handler = {&dryRun, true},
}); });
} }
@ -58,7 +57,6 @@ struct MixPrintJSON : virtual Args
This option is only effective when `--json` is also specified. This option is only effective when `--json` is also specified.
)", )",
//.category = commonArgsCategory,
.handler = {&outputPretty, true}, .handler = {&outputPretty, true},
}); });
addFlag({ addFlag({
@ -70,7 +68,6 @@ struct MixPrintJSON : virtual Args
See `--pretty`. See `--pretty`.
)", )",
//.category = commonArgsCategory,
.handler = {&outputPretty, false}, .handler = {&outputPretty, false},
}); });
}; };
@ -103,7 +100,6 @@ struct MixJSON : virtual Args, virtual MixPrintJSON
addFlag({ addFlag({
.longName = "json", .longName = "json",
.description = "Produce output in JSON format, suitable for consumption by another program.", .description = "Produce output in JSON format, suitable for consumption by another program.",
//.category = commonArgsCategory,
.handler = {&json, true}, .handler = {&json, true},
}); });
} }