Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 417875

Summary: media-gfx/wkhtmltopdf should install man page
Product: Gentoo Linux Reporter: Joe Stroller <stroller>
Component: Current packagesAssignee: Tim Harder <radhermit>
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---

Description Joe Stroller 2012-05-27 20:37:59 UTC
When run without any arguments, wkhtmltopdf dumps over a page of usage information to STDERR.

This is hard to read in a regular sized terminal, and to pipe to less one must redirect STDERR, thus:

    wkhtmltopdf 2>&1 | less

It turns out that a manpage is offered:

    $ wkhtmltopdf -H 2>&1 | grep manpage
          --manpage                       Output program man page

When choosing this option, the output is appropriately formatted. Thus `wkhtmltopdf --manpage | less` is ugly. This displays fine:

    $ wkhtmltopdf --manpage > foo
    $ man ./foo 

This is a feature request to build the manpage at installation time, add it to the appropriate /usr/share/man and have it handles by makewhatis

Reproducible: Always
Comment 1 Tim Harder gentoo-dev 2014-11-27 05:07:21 UTC
Man pages now get installed in