Re: Any hint for help2man if programm does not accept help option
Hi,
On Mon, Apr 02, 2012 at 07:45:46AM +0200, Gergely Nagy wrote:
> >> help2man -h "" $program will probably do the trick.
> >
> > No:
> >
> > $ help2man -h "" help2man
> > help2man: can't get `' info from help2man
>
> That happens because help2man without arguments will output to stderr.
> Add --no-discard-stderr, and it will just work. Or try with a program
> that outputs to stdout.
>
> It does do the trick.
Seems the combination of both `-h ""` AND `--no-discard-stderr` .
> > $ reportbug help2man
> >
> > may help to make it work one day.
>
> Or you can read the full output of the command you pasted:
>
> | algernon@luthien:~$ help2man -h "" help2man
> | help2man: can't get `' info from help2man
> | Try `--no-discard-stderr' if option outputs to stderr
I admit I would prefer if help2man would have a more simple way to
specify this.
Kind regards
Andreas.
--
http://fam-tille.de
Reply to: