manpage does not document "-reduce" parameter

Bug #1593645 reported by Gunter Ohrner
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
pngcrush (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

The man page seems to be inconsistent with the actual pngcrush implementation contained in the package.

For example, it does not document the "-reduce" option - or is this intentional?

Possibly there are also other inconsistencies?

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: pngcrush 1.7.85-1
ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8
Uname: Linux 4.4.0-22-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CurrentDesktop: KDE
Date: Fri Jun 17 11:29:34 2016
Dependencies:
 gcc-6-base 6.0.1-0ubuntu1
 libc6 2.23-0ubuntu3
 libgcc1 1:6.0.1-0ubuntu1
 libpng12-0 1.2.54-1ubuntu1
 zlib1g 1:1.2.8.dfsg-2ubuntu4
SourcePackage: pngcrush
UpgradeStatus: Upgraded to xenial on 2016-04-23 (54 days ago)

Revision history for this message
Gunter Ohrner (gohrner) wrote :
Revision history for this message
Jani Uusitalo (uusijani) wrote :

Another option missing from the man page is -ow (for overwriting the input file in-place), available since version 1.7.22.

    $ pngcrush 2>&1 | grep -- -ow
        pngcrush -ow [other options] file.png [tempfile.png]
            -ow (Overwrite)

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in pngcrush (Ubuntu):
status: New → Confirmed
Revision history for this message
Jani Uusitalo (uusijani) wrote :

-s (silent) is also undocumented. There's a confusing distinction between it and -q (quiet), where the latter isn't quiet in the usual sense; -s is needed to silence non-error output entirely. There's useless output even when called entirely without options:

    $ pngcrush
    CPU time decode 0.000000, encode 0.000000, other 0.000000, total 0.000002 sec
    $ pngcrush -q
    CPU time decode 0.000000, encode 0.000000, other 0.000000, total 0.000002 sec
    $ pngcrush -s
    $

This is pngcrush 1.8.13-0.1 on focal.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.