~rkta/quiltutils

ebc0dd9d8c0d63030bd7550b7b455d10184d5e8a — Rene Kita 5 months ago 6d176ca
Fix man pages
2 files changed, 12 insertions(+), 38 deletions(-)

M qclean.1
M quiltutils.1
M qclean.1 => qclean.1 +10 -28
@@ 4,7 4,7 @@ qclean \- Remove unused files from the patches directory
.SH SYNOPSIS
.BR qclean
[
.IR "patches dir"
.IR options
]
.SH DESCRIPTION
.BR qclean


@@ 24,43 24,25 @@ or
are assumed backup files.
.BR qclean
uses
.BR qdiff
and
.BR qorphan
to find patches to be removed.
This can be overriden by setting
.IR PDIFF
and
.IR PORPHAN
via the environment.
Any options given to
.BR qclean
are passed to
.BR qorphan .
.PP
.BR qclean
is part of the
.BR quiltutils
(1) suite.
.SH EXAMPLE
Clean orphaned backup files, but keep patches not in the series:
.RS
.EX
% PDIFF=':' qclean
.EE
.RE
.PP
Do it the other way round:
.RS
.EX
% PORPHAN=':' qclean
.EE
.RE
.PP
Debug and do not execute the
.BR rm
command:
.RS
.EX
% find patches \-type f \-name '*.rej' | DEBUG=1 PORPHAN=: PDIFF=cat qclean
.EE
.RE
.SH ENVIRONMENT VARIABLES
If
.BR DEBUG
is set in the environment, then no files will be removed but the commands will
be printed.
.SH AUTHOR
Rene Kita <mail@rkta.de>
.SH SEE ALSO

M quiltutils.1 => quiltutils.1 +2 -10
@@ 1,28 1,20 @@
.TH quiltutils 1 quiltutils
.SH NAME
quiltutils \- Utility scripts for quilt users
.SH SYNOPSIS
.BR pdiff
[
.IR series
]
.SH DESCRIPTION
.BR quiltutils
is a suite of utility scripts for quilt users.
.SH TOOLS
.TP
.BR qclean
Remove patch backups where the original patch is gone.
.TP
.BR qdiff
List patch files that are not part of the series.
Remove unused files from the patches directory
.TP
.BR qheaders
Check and fix patch headers to use them with
.BR "git quiltimport" .
.TP
.BR qorphan
List patch backups where the original patch is gone.
List unused files in the patches directory
.TP
.BR qseries
Create series file for patches in directory.