[Rpm-maint] The description about option '--dump' in manpage is wrong

Yu Zhiguo yuzg at cn.fujitsu.com
Thu Aug 2 03:23:31 UTC 2007


Hello everybody,

    I find a bug in the latest rpm release(rpm-4.4.2.1 from 
http://www.rpm.org):

    The description about option '--dump' in manpage is wrong.
    The manpage says, "This option must be used with at least one 
of -l, -c, -d.",
but in fact, this option can be used singly.

    The usage of this option is the same with option '--state', they can be 
used
with one of -l, -c, -d, and also can be used singly.
    If used singly, they implies -l.

    I have made a patch for this bug.
    Can you apply it in the next release?

    the patch for rpm-4.4.2.1:
===================================
--- rpm-4.4.2.1/doc/rpm.8.manpagedump 2007-08-01 22:23:35.000000000 +0800
+++ rpm-4.4.2.1/doc/rpm.8 2007-08-01 22:24:00.000000000 +0800
@@ -591,7 +591,7 @@
 List only documentation files (implies \fB-l\fR).
 .TP
 \fB--dump\fR
-Dump file information as follows:
+Dump file information as follows (implies \fB-l\fR):
 .sp
 .RS

@@ -600,11 +600,6 @@

 .fi
 .RE
-
-This option must be used with at least one of
-\fB-l\fR,
-\fB-c\fR,
-\fB-d\fR.
 .TP
 \fB--filesbypkg\fR
 List all the files in each selected package.

===================================

Regards
Yu Zhiguo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rpm-4.4.2.1-manpage-dump.patch
Type: application/octet-stream
Size: 514 bytes
Desc: not available
Url : http://lists.rpm.org/pipermail/rpm-maint/attachments/20070802/3d37b258/attachment-0001.obj 


More information about the Rpm-maint mailing list