Re: Any hint for help2man if programm does not accept help option
On Sun, Apr 01, 2012 at 09:37:03PM +0200, Andreas Tille wrote:
> Hi,
>
> I would like to add man pages to a program which does not accept any
> help option but if you call it without any option it outputs the help
> information which would be needed to create the man page. Is there
> any trick to convince help2man to work on this anyway?
Create a shell script which ignores any arguments and just exec's the
target binary, and call help2man on that?
regards,
iustin
Reply to: