summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2011-01-05 15:22:00 +0200
committerPanu Matilainen <pmatilai@redhat.com>2011-01-05 15:23:39 +0200
commitea9cce1778fc6c54f7d9601149c292689b39ea7e (patch)
treebc8cac749a9a84340417bfc4ebb7c2f075b92b9f
parente21bd06e7581db2397cd5cac2b7dea017afff930 (diff)
downloadrpm-ea9cce1778fc6c54f7d9601149c292689b39ea7e.tar.gz
rpm-ea9cce1778fc6c54f7d9601149c292689b39ea7e.tar.bz2
rpm-ea9cce1778fc6c54f7d9601149c292689b39ea7e.zip
Hide --verifydb switch again
- 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. (cherry picked from commit 599094e258fc69d76ef9291355850a10508acb3a)
-rw-r--r--rpmdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpmdb.c b/rpmdb.c
index a84862d77..cc4a7aa73 100644
--- 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
};