I am the current Red Hat maintainer of ImageMagick for Red Hat Enterprise Linux. We did scan all the packages we have in our distribution, and one of the check is the matching between the "help" usage of each binary and its man page. IM failed at some point and I have written some patches to fix it.
I'm sorry I can not give you access to all the tools required to do the check, but here are the resulting patches.
The patches and scan results are located in http://people.freedesktop.org/~tissoire/IM/
For the trunk:
- patch: 0001-Fix-man-pages-scan-results-trunk.patch
- log result: man-scan-result-trunk.txt
- patch: 0001-Fix-man-pages-scan-results-IM-6.patch
- log result: man-scan-result-IM-6.txt
Code: Select all
$> git apply 0001-Fix-man-pages-scan-results-VERSION.patch
Code: Select all
$> /usr/bin/patch -p1 --fuzz=0 < 0001-Fix-man-pages-scan-results-VERSION.patch
I hope you will find these patches useful.
Cheers,
Benjamin