Re: Gengetopt 2.22 and --show-detailed-help
Lorenzo Bettini <[email protected]> Fri, 14 Mar 2008 17:10:15 +0100
| Newsgroups | gmane.comp.gnu.gengetopt.general |
|---|---|
| Message-ID | <[email protected]> |
Tim Post wrote: > On Thu, 2008-03-13 at 08:51 +0100, Lorenzo Bettini wrote: >> Hi there >> >> nice to hear from you! >> >> I think I've used a standard format for help output (e.g., it can be >> used by help2man). But I'm not sure about that... any clue anyone? > > I ran gengetopt specifying the function to be main() so I could just run > it, then passed it through help2man just to be sure and it worked > without any problem. > > I would think breaking that could be bad, especially for something using > gengetopt and gengen, where the gengetopt infile is also written by > another program (i.e. autoconf influenced). > > This is interesting however for programs that have dozens of options, > help for those is often hard to read. I've never used the grouping > feature in gengetopt (I'm about to play with it soon), does that also > permit a ./prog --help [groupname] display? > so you're saying that the current output should be standard, aren't you? it looks like that to me... as far as I could see from other programs' output... Tong, are you referring to the output of a program that you saw? 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