- Main Page
- Related Pages
- Modules
- Data Structures
- Files

# rpmdb/poptDB.c

Go to the documentation of this file.

    00001
    00006 #include "system.h"
    00007
    00008 #include <rpmio.h>
    00009 #include <rpmcb.h>              /* XXX fnpyKey */
    00010 #include <rpmcli.h>
    00011
    00012
    00013 #include "debug.h"
    00014
    00015 struct rpmQVKArguments_s rpmDBArgs;
    00016
    00019 struct poptOption rpmDatabasePoptTable[] = {
    00020 #if defined(SUPPORT_INITDB)
    00021  { "initdb", '\0', POPT_ARG_VAL, &rpmDBArgs.init, 1,
    00022         N_("initialize database"), NULL},
    00023 #endif
    00024  { "rebuilddb", '\0', POPT_ARG_VAL, &rpmDBArgs.rebuild, 1,
    00025         N_("rebuild database inverted lists from installed package headers"),
    00026         NULL},
    00027 #if defined(SUPPORT_VERIFYDB)
    00028  { "verifydb", '\0', POPT_ARG_VAL|POPT_ARGFLAG_DOC_HIDDEN, &rpmDBArgs.verify, 1,
    00029         N_("verify database files"), NULL},
    00030 #endif
    00031
    00032    POPT_TABLEEND
    00033 };