diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-08-17 17:44:52 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-08-17 17:44:52 +0200 |
commit | a72a20d68fe6ae75f05f69e7de0bc3326d779144 (patch) | |
tree | a945dff2d1fbf9a64fa132814a59c4db8020d89e /src/nix/registry.cc | |
parent | 7cdc739ece681128dd4153e53acb85867accdd1b (diff) |
Add 'nix dump-args' to dump all commands/flags for manpage generation
Diffstat (limited to 'src/nix/registry.cc')
-rw-r--r-- | src/nix/registry.cc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/nix/registry.cc b/src/nix/registry.cc index ebee4545c..367268683 100644 --- a/src/nix/registry.cc +++ b/src/nix/registry.cc @@ -115,7 +115,7 @@ struct CmdRegistryPin : virtual Args, EvalCommand } }; -struct CmdRegistry : virtual MultiCommand, virtual Command +struct CmdRegistry : virtual NixMultiCommand { CmdRegistry() : MultiCommand({ @@ -141,11 +141,6 @@ struct CmdRegistry : virtual MultiCommand, virtual Command command->second->prepare(); command->second->run(); } - - void printHelp(const string & programName, std::ostream & out) override - { - MultiCommand::printHelp(programName, out); - } }; static auto r1 = registerCommand<CmdRegistry>("registry"); |