Bug#839040: man page: document --deflate

Mathieu Malaterre malat at debian.org
Wed Sep 28 05:58:25 UTC 2016


Package: binwalk
Version: 2.1.1-9

For some reason some options are not documented in the man page which
is rather confusing. Eg `--deflate` is not present in the man page,
but is in the output of help:

$ binwalk -h | grep defl
    -X, --deflate                Scan for raw deflate compression streams

One way I handle this is make sure the man page is generated during build run:

Eg:

https://anonscm.debian.org/viewvc/collab-maint/deb-maint/abi-dumper/trunk/debian/rules?view=markup

[...]
debian/abi-dumper.1: debian/abi-dumper.1.in
help2man --include=$< --output=$@ --no-info debian/abi-dumper/usr/bin/abi-dumper

override_dh_installdocs: debian/abi-dumper.1
[...]


Thanks



More information about the Pkg-security-team mailing list