Main Page Modules Data Structures File List Data Fields Globals Related Pages

# rpmdb/poptDB.c

Go to the documentation of this file.

    00001
    00006 #include "system.h"
    00007
    00008 #include <rpmcli.h>
    00009
    00010 #include "debug.h"
    00011
    00012 struct rpmDatabaseArguments_s rpmDBArgs;
    00013
    00016 struct poptOption rpmDatabasePoptTable[] = {
    00017  { "initdb", '\0', POPT_ARG_VAL, &rpmDBArgs.init, 1,
    00018         N_("initialize database"), NULL},
    00019  { "rebuilddb", '\0', POPT_ARG_VAL, &rpmDBArgs.rebuild, 1,
    00020         N_("rebuild database inverted lists from installed package headers"),
    00021         NULL},
    00022  { "verifydb", '\0', POPT_ARG_VAL|POPT_ARGFLAG_DOC_HIDDEN, &rpmDBArgs.verify, 1,
    00023         N_("verify database files"), NULL},
    00024  { "nodirtokens", '\0', POPT_ARG_VAL|POPT_ARGFLAG_DOC_HIDDEN, &_noDirTokens, 1,
    00025         N_("generate headers compatible with (legacy) rpm[23] packaging"),
    00026         NULL},
    00027  { "dirtokens", '\0', POPT_ARG_VAL|POPT_ARGFLAG_DOC_HIDDEN, &_noDirTokens, 0,
    00028         N_("generate headers compatible with rpm4 packaging"), NULL},
    00029
    00030    POPT_TABLEEND
    00031 };