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

# 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
    00014 /*@-redecl@*/
    00015 extern int _noDirTokens;
    00016 /*@=redecl@*/
    00017
    00020 struct poptOption rpmDatabasePoptTable[] = {
    00021  { "initdb", '\0', POPT_ARG_VAL, &rpmDBArgs.init, 1,
    00022         N_("initialize database"), NULL},
    00023  { "rebuilddb", '\0', POPT_ARG_VAL, &rpmDBArgs.rebuild, 1,
    00024         N_("rebuild database inverted lists from installed package headers"),
    00025         NULL},
    00026  { "verifydb", '\0', POPT_ARG_VAL|POPT_ARGFLAG_DOC_HIDDEN, &rpmDBArgs.verify, 1,
    00027         N_("verify database files"), NULL},
    00028  { "nodirtokens", '\0', POPT_ARG_VAL|POPT_ARGFLAG_DOC_HIDDEN, &_noDirTokens, 1,
    00029         N_("generate headers compatible with (legacy) rpm[23] packaging"),
    00030         NULL},
    00031  { "dirtokens", '\0', POPT_ARG_VAL|POPT_ARGFLAG_DOC_HIDDEN, &_noDirTokens, 0,
    00032         N_("generate headers compatible with rpm4 packaging"), NULL},
    00033
    00034    POPT_TABLEEND
    00035 };