diff options
author | 2012-03-29 18:49:04 +0100 | |
---|---|---|
committer | 2012-03-30 18:43:15 +0100 | |
commit | de6b2ae2f2ec414b30fa953b80a9cc58f2d875df (patch) | |
tree | ec0131d7131941a3fac4686ac45f417fd2e1c55a /src/clients/cave/command_factory.cc | |
parent | 9bf46f1a321dd62b8a81aaf811a85422b39e564c (diff) | |
download | paludis-de6b2ae2f2ec414b30fa953b80a9cc58f2d875df.tar.gz paludis-de6b2ae2f2ec414b30fa953b80a9cc58f2d875df.tar.xz |
Add cave-print-checksum
Mostly to help test the hash algorithms.
Diffstat (limited to 'src/clients/cave/command_factory.cc')
-rw-r--r-- | src/clients/cave/command_factory.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/clients/cave/command_factory.cc b/src/clients/cave/command_factory.cc index 132bd7019..d08d67965 100644 --- a/src/clients/cave/command_factory.cc +++ b/src/clients/cave/command_factory.cc @@ -58,6 +58,7 @@ #include "cmd_perform.hh" #include "cmd_print_best_version.hh" #include "cmd_print_categories.hh" +#include "cmd_print_checksum.hh" #include "cmd_print_commands.hh" #include "cmd_print_dependent_ids.hh" #include "cmd_print_environment_metadata.hh" @@ -179,6 +180,7 @@ CommandFactory::CommandFactory() : _imp->handlers.insert(std::make_pair("purge", std::bind(&make_command<PurgeCommand>))); _imp->handlers.insert(std::make_pair("print-best-version", std::bind(&make_command<PrintBestVersionCommand>))); _imp->handlers.insert(std::make_pair("print-categories", std::bind(&make_command<PrintCategoriesCommand>))); + _imp->handlers.insert(std::make_pair("print-checksum", std::bind(&make_command<PrintChecksumCommand>))); _imp->handlers.insert(std::make_pair("print-commands", std::bind(&make_command<PrintCommandsCommand>))); _imp->handlers.insert(std::make_pair("print-dependent-ids", std::bind(&make_command<PrintDependentIDsCommand>))); _imp->handlers.insert(std::make_pair("print-environment-metadata", std::bind(&make_command<PrintEnvironmentMetadataCommand>))); |