[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [help-gengetopt] convert ggo file to man page
From: |
Andre Noll |
Subject: |
Re: [help-gengetopt] convert ggo file to man page |
Date: |
Thu, 17 Sep 2009 13:19:04 +0200 |
User-agent: |
Mutt/1.5.9i |
On 11:29, Lorenzo Bettini wrote:
> >>>True. But this does not work when cross-compiling. Would it be
> >>>difficult to implement something like
> >>>
> >>> gengetopt --print-detailed-help < my.ggo
> >>>
> >>>which would output the detailed help text directly?
> >>>
> >>there are already options for this :-)
> >
> >Wow :)
> >Thanks for pointing that out, and sorry for not RTFM.
>
> No problem :-)
> but does this solve the problem of cross-compiling?
> Moreover, I guess help2man expects a program name, not a simple output?
Well, it's a first step. If help2man could read from stdin
instead of insisting to call an executable to obtain its input,
the cross-compiling problem would be solved. But that's not a real
problem because one can always use a shell script wrapper like
#!/bin/sh
case $1 in
--help) gengetopt --show-help < my.ggo;;
--detailed-help) gengetopt --show-detailed-help < my.ggo;;
esac
Best
Andre
--
The only person who always got his work done by Friday was Robinson Crusoe
signature.asc
Description: Digital signature
- Re: [help-gengetopt] convert ggo file to man page, (continued)
- Re: [help-gengetopt] convert ggo file to man page, Yegor Yefremov, 2009/09/16
- Re: [help-gengetopt] convert ggo file to man page, Lorenzo Bettini, 2009/09/16
- Message not available
- Message not available
- Re: [help-gengetopt] convert ggo file to man page, Yegor Yefremov, 2009/09/16
- Re: [help-gengetopt] convert ggo file to man page, Yegor Yefremov, 2009/09/17
- Re: [help-gengetopt] convert ggo file to man page, Lorenzo Bettini, 2009/09/17
- Re: [help-gengetopt] convert ggo file to man page, Yegor Yefremov, 2009/09/18
- Re: [help-gengetopt] convert ggo file to man page, Andre Noll, 2009/09/16
- Re: [help-gengetopt] convert ggo file to man page, Lorenzo Bettini, 2009/09/16
- Re: [help-gengetopt] convert ggo file to man page, Andre Noll, 2009/09/17
- Re: [help-gengetopt] convert ggo file to man page, Lorenzo Bettini, 2009/09/17
- Re: [help-gengetopt] convert ggo file to man page,
Andre Noll <=