aboutsummaryrefslogtreecommitdiff
path: root/src/nix
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-08-18 15:15:35 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-08-18 15:15:35 +0200
commit069340179e91202b2d3adc5ea1e3023ba2a51691 (patch)
treef00e71e0c89dffedea417ecb606e9f1dc8e4928f /src/nix
parent6f19c776db280a46e84d6e84d83814445869ef37 (diff)
Improve nix.1 manpage generator
Diffstat (limited to 'src/nix')
-rw-r--r--src/nix/main.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nix/main.cc b/src/nix/main.cc
index fa04bebea..0c4fd46fd 100644
--- a/src/nix/main.cc
+++ b/src/nix/main.cc
@@ -142,6 +142,11 @@ struct NixArgs : virtual MultiCommand, virtual MixCommonArgs
printHelp(programName, std::cout);
throw Exit();
}
+
+ std::string description() override
+ {
+ return "a tool for reproducible and declarative configuration management";
+ }
};
void mainWrapped(int argc, char * * argv)