diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-12-23 18:33:42 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-12-23 18:33:42 +0100 |
commit | 5178211e963fa111f84c4881b22cc506d5254fde (patch) | |
tree | 6a0287b912ff7e3f59c05afb0e01c93db411df7a /src/nix/main.cc | |
parent | 26e502ceb567e48f3eb28fb1848430ab69cb7606 (diff) |
Add 'nix' manpage
Diffstat (limited to 'src/nix/main.cc')
-rw-r--r-- | src/nix/main.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nix/main.cc b/src/nix/main.cc index afe7cb8d7..b2406fafe 100644 --- a/src/nix/main.cc +++ b/src/nix/main.cc @@ -184,6 +184,13 @@ struct NixArgs : virtual MultiCommand, virtual MixCommonArgs { return "a tool for reproducible and declarative configuration management"; } + + std::string doc() override + { + return + #include "nix.md" + ; + } }; static void showHelp(std::vector<std::string> subcommand) |