Actually add --verifydb to the man page

Resolves: RHEL-14591
This commit is contained in:
Florian Festi 2023-12-13 12:22:21 +01:00
parent 3e052f3a74
commit 056ea9da7e
2 changed files with 22 additions and 6 deletions

View File

@ -30,10 +30,10 @@ index 22b0b3e5d..36efff8af 100644
2.41.0 2.41.0
--- a/doc/rpmdb.8 2020-05-28 12:04:25.024136615 +0200 --- a/doc/rpmdb.8 2020-05-28 12:04:25.024136615 +0200
+++ b/doc/rpmdb.8 2023-11-07 23:27:27.000000000 +0100 +++ b/doc/rpmdb.8 2023-12-13 11:57:30.646202901 +0100
@@ -1,48 +1,57 @@ @@ -1,48 +1,70 @@
-.TH "RPMDB" "8" "29 June 2010" "Red Hat, Inc" -.TH "RPMDB" "8" "29 June 2010" "Red Hat, Inc"
+.\" Automatically generated by Pandoc 2.19.2 +.\" Automatically generated by Pandoc 3.1.3
+.\" +.\"
+.\" Define V font for inline verbatim, using C font in formats +.\" Define V font for inline verbatim, using C font in formats
+.\" that render this, and otherwise B font. +.\" that render this, and otherwise B font.
@ -94,10 +94,14 @@ index 22b0b3e5d..36efff8af 100644
-.SH "AUTHORS" -.SH "AUTHORS"
- -
+.PP +.PP
+\f[B]rpm\f[R] {\f[B]--initdb|--rebuilddb\f[R]} +\f[B]rpmdb\f[R] {\f[B]--initdb|--rebuilddb\f[R]}
+.PP
+\f[B]rpmdb\f[R] {\f[B]--verifydb\f[R]}
+.PP
+\f[B]rpmdb\f[R] {\f[B]--exportdb|--importdb\f[R]}
+.SH DESCRIPTION +.SH DESCRIPTION
+.PP +.PP
+The general form of an rpm rebuild database command is +The general form of an rpmdb command is
+.PP +.PP
+\f[B]rpm\f[R] {\f[B]--initdb|--rebuilddb\f[R]} [\f[B]-v\f[R]] +\f[B]rpm\f[R] {\f[B]--initdb|--rebuilddb\f[R]} [\f[B]-v\f[R]]
+[\f[B]--dbpath \f[R]\f[I]DIRECTORY\f[R]] [\f[B]--root +[\f[B]--dbpath \f[R]\f[I]DIRECTORY\f[R]] [\f[B]--root
@ -107,6 +111,15 @@ index 22b0b3e5d..36efff8af 100644
+already exist (existing database is not overwritten), use +already exist (existing database is not overwritten), use
+\f[B]--rebuilddb\f[R] to rebuild the database indices from the installed +\f[B]--rebuilddb\f[R] to rebuild the database indices from the installed
+package headers. +package headers.
+.PP
+\f[B]--verifydb\f[R] performs a low-level integrity check on the
+database.
+.PP
+\f[B]--exportdb\f[R] exports the database in header-list format,
+suitable for transfporting to another host or database type.
+.PP
+\f[B]--importdb\f[R] imports a database from a header-list format as
+created by \f[B]--exportdb\f[R].
+.SH SEE ALSO +.SH SEE ALSO
+.PP +.PP
+\f[B]popt\f[R](3), \f[B]rpm\f[R](8), \f[B]rpmkeys\f[R](8), +\f[B]popt\f[R](3), \f[B]rpm\f[R](8), \f[B]rpmkeys\f[R](8),

View File

@ -32,7 +32,7 @@
%global rpmver 4.16.1.3 %global rpmver 4.16.1.3
#global snapver rc1 #global snapver rc1
%global rel 28 %global rel 29
%global sover 9 %global sover 9
%global srcver %{rpmver}%{?snapver:-%{snapver}} %global srcver %{rpmver}%{?snapver:-%{snapver}}
@ -656,6 +656,9 @@ fi
%doc doc/librpm/html/* %doc doc/librpm/html/*
%changelog %changelog
* Wed Dec 13 2023 Florian Festi <ffesti@redhat.com> - 4.16.1.3-29
- Actually add --verifydb to the man page (RHEL-14591)
* Mon Dec 11 2023 Florian Festi <ffesti@redhat.com> - 4.16.1.3-28 * Mon Dec 11 2023 Florian Festi <ffesti@redhat.com> - 4.16.1.3-28
- Fix warning if file removal fails - Fix warning if file removal fails