aboutsummaryrefslogtreecommitdiff
path: root/src/libmain/common-args.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2022-10-12 15:09:00 +0200
committerEelco Dolstra <edolstra@gmail.com>2022-10-12 15:09:17 +0200
commiteba610956b088e0d881c44189ef3e0d613bbf922 (patch)
tree28fc08cfab163dea4ca54c86154ecdd2b23edcba /src/libmain/common-args.cc
parentae2d330455996f5c1099b5accf36ad348b3d5e9b (diff)
Move some options into a misc category
This unclutters the per-command options a bit by moving out some global options.
Diffstat (limited to 'src/libmain/common-args.cc')
-rw-r--r--src/libmain/common-args.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libmain/common-args.cc b/src/libmain/common-args.cc
index 12f5403ea..f92920d18 100644
--- a/src/libmain/common-args.cc
+++ b/src/libmain/common-args.cc
@@ -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 {