Package: pngcrush
Version: 1.6.4-3
Severity: important
Tags: patch

This misleading man page typo caused me to wipe out a file:

    % man pngcrush | grep -n -A 1 SYN
    9:SYNOPSIS
    10-       pngcrush [options]  [file1.png]  [file2.png] ...

Those three dots at the end of line #10 claim that syntax can take
more than two files.  Compare that to the command line help:

    % pngcrush --help | grep -n usage
    53:usage: pngcrush [options] infile.png outfile.png

The command line usage is correct.  

Attached is a '.diff' correcting '/usr/share/man/man1/pngcrush.1.gz'.

Hope this helps...

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-3-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)

Versions of packages pngcrush depends on:
ii  libc6                     2.3.6.ds1-11   GNU C Library: Shared libraries
ii  libpng12-0                1.2.15~beta5-1 PNG library - runtime
ii  zlib1g                    1:1.2.3-13     compression library - runtime

pngcrush recommends no packages.

-- no debconf information

--- pngcrush.1  2006-12-02 01:54:58.000000000 -0500
+++ /tmp/pngcrush.1     2007-02-15 04:54:18.000000000 -0500
@@ -3,7 +3,7 @@
 pngcrush \(em optimizes (or modifies) PNG (Portable Network Graphics) files. 
 .SH "SYNOPSIS" 
 .PP 
-\fBpngcrush\fR [\fB\fIoptions\fR\fP]  [file1.png]  [file2.png] \fB...\fR 
+\fBpngcrush\fR [\fB\fIoptions\fR\fP]  [infile.png]  [outfile.png]  
 .PP 
 \fBpngcrush \-e \fIext\fR\fR [\fB\fIoptions\fR\fP]  [file1.png]  [file2.png] 
\fB...\fR 
 .PP 

Reply via email to