rpm  5.2.1
poptDB.c
Go to the documentation of this file.
1 
6 #include "system.h"
7 
8 #include <rpmiotypes.h>
9 #include <rpmtag.h>
10 #include <rpmtypes.h>
11 #include <rpmcli.h>
12 
13 #include "debug.h"
14 
16 
19 struct poptOption rpmDatabasePoptTable[] = {
20 #if defined(SUPPORT_INITDB)
21  { "initdb", '\0', POPT_ARG_VAL, &rpmDBArgs.init, 1,
22  N_("initialize database"), NULL},
23 #endif
24  { "rebuilddb", '\0', POPT_ARG_VAL, &rpmDBArgs.rebuild, 1,
25  N_("rebuild database inverted lists from installed package headers"),
26  NULL},
27 #if defined(SUPPORT_VERIFYDB)
28  { "verifydb", '\0', POPT_ARG_VAL|POPT_ARGFLAG_DOC_HIDDEN, &rpmDBArgs.verify, 1,
29  N_("verify database files"), NULL},
30 #endif
31 
32  POPT_TABLEEND
33 };