Re: convert ggo file to man page
Lorenzo Bettini <[email protected]> Thu, 17 Sep 2009 11:29:49 +0200
| Newsgroups | gmane.comp.gnu.gengetopt.general |
|---|---|
| Message-ID | <[email protected]> |
Andre Noll wrote: > On 19:13, Lorenzo Bettini wrote: >> Andre Noll wrote: >>> On 16:26, Lorenzo Bettini wrote: >>>> actually gengetopt itself creates its man page using help2man: once you >>>> have your program (that uses the gengetopt generated parser), you can >>>> build the manpage with help2man, e.g., >>>> >>>> help2man yourprogram >>> 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? cheers Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino ICQ# lbetto, 16080134 (GNU/Linux User # 158233) HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com http://www.myspace.com/supertrouperabba BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com http://www.gnu.org/software/src-highlite http://www.gnu.org/software/gengetopt http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net