Hide --verifydb switch again
authorPanu Matilainen <pmatilai@redhat.com>
Wed, 5 Jan 2011 13:22:00 +0000 (15:22 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Wed, 5 Jan 2011 13:22:45 +0000 (15:22 +0200)
- It got exposed in the rpmdb tool splitup, but the functionality in
  it's current form is still just as dubious as it always was, hide
  it out of sight again.

rpmdb.c

diff --git a/rpmdb.c b/rpmdb.c
index a84862d..cc4a7aa 100644 (file)
--- a/rpmdb.c
+++ b/rpmdb.c
@@ -23,8 +23,8 @@ static struct poptOption dbOptsTable[] = {
     { "rebuilddb", '\0', (POPT_ARG_VAL|POPT_ARGFLAG_OR), &mode, MODE_REBUILDDB,
        N_("rebuild database inverted lists from installed package headers"),
        NULL},
-    { "verifydb", '\0', (POPT_ARG_VAL|POPT_ARGFLAG_OR), &mode, MODE_VERIFYDB,
-       N_("verify database files"), NULL},
+    { "verifydb", '\0', (POPT_ARG_VAL|POPT_ARGFLAG_OR|POPT_ARGFLAG_DOC_HIDDEN),
+       &mode, MODE_VERIFYDB, N_("verify database files"), NULL},
     POPT_TABLEEND
 };