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:
parent
ae2d330455
commit
eba610956b
6 changed files with 10 additions and 3 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue