rpmdb --version (return code: 0)
RPM version 4.12.0.2
rpmdb --help (return code: 0)
Usage: rpmdb [OPTION...]
Database options:
--initdb initialize database
--rebuilddb rebuild database inverted lists from installed
package headers
--exportdb export database to stdout header list
--importdb import database from stdin header list
Common options for all rpm modes and executables:
-D, --define='MACRO EXPR' define MACRO with value EXPR
--undefine=MACRO undefine MACRO
-E, --eval='EXPR' print macro expansion of EXPR
--macros=<FILE:...> read <FILE:...> instead of default file(s)
--noplugins don't enable any plugins
--nodigest don't verify package digest(s)
--nosignature don't verify package signature(s)
--rcfile=<FILE:...> read <FILE:...> instead of default file(s)
-r, --root=ROOT use ROOT as top level directory (default: "/")
--dbpath=DIRECTORY use database in DIRECTORY
--querytags display known query tags
--showrc display final rpmrc and macro configuration
--quiet provide less detailed output
-v, --verbose provide more detailed output
--version print the version of rpm being used
Help options:
-?, --help Show this help message
--usage Display brief usage message