1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
/** \ingroup rpmcli
* \file rpmdb/poptDB.c
* Popt tables for database modes.
*/
#include "system.h"
#include <rpmcli.h>
#include "debug.h"
struct rpmDatabaseArguments_s rpmDBArgs;
/**
*/
struct poptOption rpmDatabasePoptTable[] = {
{ "initdb", '\0', POPT_ARG_VAL, &rpmDBArgs.init, 1,
N_("initialize database"), NULL},
{ "rebuilddb", '\0', POPT_ARG_VAL, &rpmDBArgs.rebuild, 1,
N_("rebuild database inverted lists from installed package headers"),
NULL},
{ "verifydb", '\0', POPT_ARG_VAL|POPT_ARGFLAG_DOC_HIDDEN, &rpmDBArgs.verify, 1,
N_("verify database files"), NULL},
{ "nodirtokens", '\0', POPT_ARG_VAL|POPT_ARGFLAG_DOC_HIDDEN, &_noDirTokens, 1,
N_("generate headers compatible with (legacy) rpm[23] packaging"),
NULL},
{ "dirtokens", '\0', POPT_ARG_VAL|POPT_ARGFLAG_DOC_HIDDEN, &_noDirTokens, 0,
N_("generate headers compatible with rpm4 packaging"), NULL},
POPT_TABLEEND
};
|