Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 417875 - media-gfx/wkhtmltopdf should install man page
Summary: media-gfx/wkhtmltopdf should install man page
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tim Harder
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-27 20:37 UTC by Joe Stroller
Modified: 2014-11-27 05:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 0.12.1.2.