diff -r 0ff316e24339 -r f23a93d41f32 main.c --- a/main.c Mon Nov 05 22:54:33 2007 -0500 +++ b/main.c Wed Nov 07 00:33:56 2007 -0500 @@ -291,6 +291,14 @@ return 0; } +static int +command_dump_rpm(int argc, const char *argv[]) +{ + razor_rpm_dump(argv[0]); + + return 0; +} + static struct { const char *name; const char *description; @@ -310,7 +318,8 @@ { "import-rpmdb", "import the system rpm database", command_import_rpmdb }, { "validate", "validate a package set", command_validate }, { "update", "update all or specified packages", command_update }, - { "diff", "show diff between two package sets", command_diff } + { "diff", "show diff between two package sets", command_diff }, + { "dump", "dump rpm file contents", command_dump_rpm } }; static int