#! /bin/sh /usr/share/dpatch/dpatch-run
## 22_flexbackup.1.dpatch by  <"Kurt B. Kaiser" <kbk@shore.net>>
##
## All lines beginning with `## DP:' are a description of the patch.

## DP: Fix #312259 Wrong option for onefile extract in manpage
## DP: Fix #250615 man page errors
## DP: Correct a couple of typos.

@DPATCH@
diff -urNad flexbackup~/flexbackup.1 flexbackup/flexbackup.1
--- flexbackup~/flexbackup.1	2003-10-04 08:52:00.000000000 -0700
+++ flexbackup/flexbackup.1	2006-09-10 11:29:30.000000000 -0700
@@ -25,11 +25,10 @@
 (previous backup level + 1).
 .TP
 \fBflexbackup\fR [...] \fI-pkgdelta\fR <\fIrpm\fR | \fIfreebsd\fR>
-prune backup to files not part of a package or changed from distributed version.
+Prune backup to files not part of a package or changed from distributed version.
 .TP
 \fBflexbackup\fR [...] \fI-wday\fR <\fI0-7\fR>
-Prune backup to files not part of a package or changed from distributed version.
-backup only if the week day matches the input number. Sunday is 0 or 7.
+Backup only if the week day matches the input number. Sunday is 0 or 7.
 .TP
 \fBflexbackup\fR [...] \fI-pipe\fR
 Write backup data to stdout rather than file/device.
@@ -48,7 +47,7 @@
 Extract (restore) the files listed in text file \(dqfilelist\(dq into your
 current working directory.
 .TP
-\fBflexbackup\fR \fI-extract\fR \fI-flist\fR <\fIfilename\fR>
+\fBflexbackup\fR \fI-extract\fR \fI-onefile\fR <\fIfilename\fR>
 Extract (restore) the single file named \(dqfilename\(dq into your current
 working directory.
 .TP
@@ -81,13 +80,13 @@
 \fBflexbackup\fR \fI-rmindex\fR \fIall\fR
 Force delete all database index info.
 .TP
-\fBflexbackup\fR \fI-toc\fR <\fIkey\fR>
+\fBflexbackup\fR \fI-rmindex\fR <\fIkey\fR>
 Force delete specified database tape/dir index key named \(dqkey\(dq.
 .TP
-\fBflexbackup\fR \fI-toc\fR <\fIkey\fR:\fIfile\fR>
+\fBflexbackup\fR \fI-rmindex\fR <\fIkey\fR:\fIfile\fR>
 Force delete specified database tape/dir index key named \(dqkey\(dq,
 file number \(dqfile\(dq.
-.SH "MISCELLENEOUS OPTIONS"
+.SH "MISCELLANEOUS OPTIONS"
 .TP
 \fBflexbackup\fR \fI-newtape\fR
 Erase and create new index key (but don't do any backups).
