Re: Any hint for help2man if programm does not accept help option

2012-04-02 Thread Andreas Tille
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 -

Re: Any hint for help2man if programm does not accept help option

2012-04-01 Thread Gergely Nagy
On Mon, Apr 2, 2012 at 00:29, David Prévot wrote: > Hi, > > Le 01/04/2012 18:24, Gergely Nagy a écrit : >> Andreas Tille writes: > >>> 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 > >> help2man -h ""

Re: Any hint for help2man if programm does not accept help option

2012-04-01 Thread David Prévot
Hi, Le 01/04/2012 18:24, Gergely Nagy a écrit : > Andreas Tille writes: >> 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 > help2man -h "" $program will probably do the trick. No: $ help2man -h "" h

Re: Any hint for help2man if programm does not accept help option

2012-04-01 Thread Gergely Nagy
Andreas Tille writes: > 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 anywa

Re: Any hint for help2man if programm does not accept help option

2012-04-01 Thread Iustin Pop
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

Re: Any hint for help2man if programm does not accept help option

2012-04-01 Thread Timo Juhani Lindfors
Andreas Tille writes: > 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? Would

Any hint for help2man if programm does not accept help option

2012-04-01 Thread Andreas Tille
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? Kind regards Andreas.