aboutsummaryrefslogtreecommitdiff
path: root/src/nix/optimise-store.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-05-05 15:18:23 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-05-05 15:18:23 +0200
commitf132d82a796c91fcb741c127f37c963622b4cae4 (patch)
tree152a835a1810681ef7611a2767dfe2bdc7f2a4db /src/nix/optimise-store.cc
parenta721a0b1140bf489d645f5d85737acafc1c57c65 (diff)
nix --help: Group commands
Diffstat (limited to 'src/nix/optimise-store.cc')
-rw-r--r--src/nix/optimise-store.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nix/optimise-store.cc b/src/nix/optimise-store.cc
index fed012b04..b45951879 100644
--- a/src/nix/optimise-store.cc
+++ b/src/nix/optimise-store.cc
@@ -23,6 +23,8 @@ struct CmdOptimiseStore : StoreCommand
};
}
+ Category category() override { return catUtility; }
+
void run(ref<Store> store) override
{
store->optimiseStore();