<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-1622</id>
	<title>Nabble - Gnu - Gengetopt</title>
	<updated>2009-11-16T02:08:54Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Gnu---Gengetopt-f1622.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Gnu---Gengetopt-f1622.html" />
	<subtitle type="html">Gengetopt generates a C function that uses getopt_long function to parse the command line options, validate them and fill a struct. Gnu - Gengetopt home is &lt;a href=&quot;http://savannah.gnu.org/projects/gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26369455</id>
	<title>Re: Some minor issues with 2.22.3</title>
	<published>2009-11-16T02:08:54Z</published>
	<updated>2009-11-16T02:08:54Z</updated>
	<author>
		<name>Lorenzo Bettini</name>
	</author>
	<content type="html">Debarshi Ray wrote:
&lt;br&gt;&amp;gt; The test_manual_help_cmd.ggo and test_manual_help.c files mentioned in
&lt;br&gt;&amp;gt; doc/README.example are missing; and most of the source files have
&lt;br&gt;&amp;gt; their executable bit wrongly set.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Cheers,
&lt;br&gt;&amp;gt; Debarshi
&lt;br&gt;&lt;br&gt;thanks I'll address these issues.
&lt;br&gt;&lt;br&gt;cheers
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Lorenzo
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
&lt;br&gt;ICQ# lbetto, 16080134 &amp;nbsp; &amp;nbsp; (GNU/Linux User # 158233)
&lt;br&gt;HOME: &lt;a href=&quot;http://www.lorenzobettini.it&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.lorenzobettini.it&lt;/a&gt;&amp;nbsp;MUSIC: &lt;a href=&quot;http://www.purplesucker.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.purplesucker.com&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.myspace.com/supertrouperabba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.myspace.com/supertrouperabba&lt;/a&gt;&lt;br&gt;BLOGS: &lt;a href=&quot;http://tronprog.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tronprog.blogspot.com&lt;/a&gt;&amp;nbsp; &lt;a href=&quot;http://longlivemusic.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://longlivemusic.blogspot.com&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/src-highlite&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/src-highlite&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/gengetopt&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/gengen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/gengen&lt;/a&gt;&amp;nbsp;&lt;a href=&quot;http://doublecpp.sourceforge.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://doublecpp.sourceforge.net&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gengetopt mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26369455&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gengetopt@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gengetopt&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Gengetopt---Help-f1623.html&quot; embed=&quot;fixTarget[1623]&quot; target=&quot;_top&quot; &gt;Gnu - Gengetopt - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Some-minor-issues-with-2.22.3-tp26313599p26369455.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26313599</id>
	<title>Some minor issues with 2.22.3</title>
	<published>2009-11-11T21:16:30Z</published>
	<updated>2009-11-11T21:16:30Z</updated>
	<author>
		<name>Debarshi Ray</name>
	</author>
	<content type="html">The test_manual_help_cmd.ggo and test_manual_help.c files mentioned in
&lt;br&gt;doc/README.example are missing; and most of the source files have
&lt;br&gt;their executable bit wrongly set.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Debarshi
&lt;br&gt;-- 
&lt;br&gt;One reason that life is complex is that it has a real part and an
&lt;br&gt;imaginary part.
&lt;br&gt;&amp;nbsp; &amp;nbsp; -- Andrew Koenig
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gengetopt mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26313599&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gengetopt@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gengetopt&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Gengetopt---Help-f1623.html&quot; embed=&quot;fixTarget[1623]&quot; target=&quot;_top&quot; &gt;Gnu - Gengetopt - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Some-minor-issues-with-2.22.3-tp26313599p26313599.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25994579</id>
	<title>gengetopt and g++4.4.1 constness error</title>
	<published>2009-10-21T08:20:06Z</published>
	<updated>2009-10-21T08:20:06Z</updated>
	<author>
		<name>alex31</name>
	</author>
	<content type="html">I have updgraded my box, and have now gcc 4.4.1 as default.
&lt;br&gt;&lt;br&gt;when compiling the .c/.h generated by gengetopt (gengetopt-2.22.3 as pakaged by mandriva) , i have theses errors compiling internal gengetopt function with g++ :
&lt;br&gt;&lt;br&gt;&lt;br&gt;cglCmdLine.c: In function ‘char* get_multiple_arg_token(const char*)’:
&lt;br&gt;cglCmdLine.c:354: erreur: invalid conversion from ‘const char*’ to ‘char*’
&lt;br&gt;cglCmdLine.c: In function ‘char* get_multiple_arg_token_next(const char*)’:
&lt;br&gt;cglCmdLine.c:404: erreur: invalid conversion from ‘const char*’ to ‘char*’
&lt;br&gt;&lt;br&gt;with previous g++ 4.3.1 version, it was compiling without a warning.
&lt;br&gt;&lt;br&gt;if i compile with gcc (not g++), it works, but, since it's a c++ project, &amp;nbsp;i need to put a specific rule in my makefile to compile gengetopt generated files.
&lt;br&gt;&lt;br&gt;Alexandre
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Gengetopt---Help-f1623.html&quot; embed=&quot;fixTarget[1623]&quot; target=&quot;_top&quot; &gt;Gnu - Gengetopt - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/gengetopt-and-g%2B%2B4.4.1-constness-error-tp25994579p25994579.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25694592</id>
	<title>GNU Gengetopt 2.22.3</title>
	<published>2009-10-01T01:02:24Z</published>
	<updated>2009-10-01T01:02:24Z</updated>
	<author>
		<name>Lorenzo Bettini</name>
	</author>
	<content type="html">GNU Gengetopt 2.22.3 has been released. &amp;nbsp;It is available from
&lt;br&gt;ftp://ftp.gnu.org/gnu/gengetopt/ and mirrors of that site (see list of
&lt;br&gt;mirror sites at &lt;a href=&quot;http://www.gnu.org/order/ftp.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/order/ftp.html&lt;/a&gt;).
&lt;br&gt;&lt;br&gt;GNU Gengetopt generates a C function that uses getopt_long function
&lt;br&gt;to parse the command line options, validate them and fill a
&lt;br&gt;struct.
&lt;br&gt;&lt;br&gt;Version 2.22.3
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; * enum option values can contain + and - (thanks to Papp Gyozo).
&lt;br&gt;&amp;nbsp; &amp;nbsp; * fixed compilation problems due to macro FIX_UNUSED which was not
&lt;br&gt;&amp;nbsp; &amp;nbsp; in the right place (thanks to Matthew Junker)
&lt;br&gt;&amp;nbsp; &amp;nbsp; * --header-output-dir and --src_output-dir to store cmdline.h
&lt;br&gt;&amp;nbsp; &amp;nbsp; separately from cmdline.c (thanks to Yegor Yefremov)
&lt;br&gt;&amp;nbsp; &amp;nbsp; * #include &amp;lt;getopt.h&amp;gt; in the generated files, instead of &amp;quot;getopt.h&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; * generated functions use prototypes with char ** instead of
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; char *const *
&lt;br&gt;&lt;br&gt;&lt;br&gt;You can also find details about new features on my blog, in this area:
&lt;br&gt;&lt;a href=&quot;http://tronprog.blogspot.com/search/label/gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tronprog.blogspot.com/search/label/gengetopt&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;Visit the Gengetopt home page at
&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/gengetopt&lt;/a&gt;&lt;br&gt;&lt;br&gt;Anonymous CVS access is available. &amp;nbsp;Please visit
&lt;br&gt;&lt;a href=&quot;http://savannah.gnu.org/projects/gengetopt/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.gnu.org/projects/gengetopt/&lt;/a&gt;&lt;br&gt;where you can find detailed descriptions of how to access the CVS
&lt;br&gt;(read-only). &amp;nbsp;Release-candidate versions are available
&lt;br&gt;through CVS.
&lt;br&gt;&lt;br&gt;Bug reports should go to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25694592&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bug-gengetopt@...&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;The following mailing lists are available:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25694592&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;help-gengetopt@...&lt;/a&gt;, for generic discussions about the program
&lt;br&gt;and for asking for help about it (open mailing list),
&lt;br&gt;&lt;a href=&quot;http://mail.gnu.org/mailman/listinfo/help-gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnu.org/mailman/listinfo/help-gengetopt&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25694592&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;info-gengetopt@...&lt;/a&gt; , for receiving information about new
&lt;br&gt;releases and features (read-only mailing list),
&lt;br&gt;&lt;a href=&quot;http://mail.gnu.org/mailman/listinfo/info-gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnu.org/mailman/listinfo/info-gengetopt&lt;/a&gt;&lt;br&gt;&lt;br&gt;if you want to subscribe to a mailing list just go to the URL and follow
&lt;br&gt;the instructions or just send me an e-mail.
&lt;br&gt;&lt;br&gt;cheers
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Lorenzo
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
&lt;br&gt;ICQ# lbetto, 16080134 &amp;nbsp; &amp;nbsp; (GNU/Linux User # 158233)
&lt;br&gt;HOME: &lt;a href=&quot;http://www.lorenzobettini.it&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.lorenzobettini.it&lt;/a&gt;&amp;nbsp;MUSIC: &lt;a href=&quot;http://www.purplesucker.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.purplesucker.com&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.myspace.com/supertrouperabba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.myspace.com/supertrouperabba&lt;/a&gt;&lt;br&gt;BLOGS: &lt;a href=&quot;http://tronprog.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tronprog.blogspot.com&lt;/a&gt;&amp;nbsp; &lt;a href=&quot;http://longlivemusic.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://longlivemusic.blogspot.com&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/src-highlite&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/src-highlite&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/gengetopt&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/gengen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/gengen&lt;/a&gt;&amp;nbsp;&lt;a href=&quot;http://doublecpp.sourceforge.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://doublecpp.sourceforge.net&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Info-gengetopt mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25694592&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Info-gengetopt@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/info-gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/info-gengetopt&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Gengetopt---Announce-f1624.html&quot; embed=&quot;fixTarget[1624]&quot; target=&quot;_top&quot; &gt;Gnu - Gengetopt - Announce&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GNU-Gengetopt-2.22.3-tp25694592p25694592.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25642185</id>
	<title>Re: [feature-request] different output folders for *.h and *.c and dummy conf file</title>
	<published>2009-09-28T01:21:23Z</published>
	<updated>2009-09-28T01:21:23Z</updated>
	<author>
		<name>Yegor Yefremov</name>
	</author>
	<content type="html">&lt;div class='shrinkable-quote'&gt;&amp;gt;&amp;gt; I've made a quick patch to enable different output folders for *.h and
&lt;br&gt;&amp;gt;&amp;gt; *.c files. Could you review it?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Add --header-output-dir and --src_output-dir to store cmdline.h
&lt;br&gt;&amp;gt;&amp;gt; separately from cmdline.c
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hi Yegor
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; your patch is in the CVS right now, and it works like a charm :-)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I've also added some tests.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If you update, remember to run autoreconf
&lt;/div&gt;&lt;br&gt;I've updated the source tree. Everything is working. Thank you for including this feature.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Yegor
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gengetopt mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25642185&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gengetopt@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gengetopt&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Gengetopt---Help-f1623.html&quot; embed=&quot;fixTarget[1623]&quot; target=&quot;_top&quot; &gt;Gnu - Gengetopt - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-feature-request--different-output-folders-for-*.h-and-*.c-and-dummy-conf-file-tp25401847p25642185.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25635091</id>
	<title>Re: [feature-request] different output folders for *.h and *.c and dummy conf file</title>
	<published>2009-09-27T09:33:26Z</published>
	<updated>2009-09-27T09:33:26Z</updated>
	<author>
		<name>Lorenzo Bettini</name>
	</author>
	<content type="html">Yegor Yefremov wrote:
&lt;br&gt;&amp;gt; Hi Lorenzo,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I've made a quick patch to enable different output folders for *.h and *.c files. Could you review it?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Add --header-output-dir and --src_output-dir to store cmdline.h separately from cmdline.c
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;Hi Yegor
&lt;br&gt;&lt;br&gt;your patch is in the CVS right now, and it works like a charm :-)
&lt;br&gt;&lt;br&gt;I've also added some tests.
&lt;br&gt;&lt;br&gt;If you update, remember to run autoreconf
&lt;br&gt;&lt;br&gt;cheers
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Lorenzo
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
&lt;br&gt;ICQ# lbetto, 16080134 &amp;nbsp; &amp;nbsp; (GNU/Linux User # 158233)
&lt;br&gt;HOME: &lt;a href=&quot;http://www.lorenzobettini.it&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.lorenzobettini.it&lt;/a&gt;&amp;nbsp;MUSIC: &lt;a href=&quot;http://www.purplesucker.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.purplesucker.com&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.myspace.com/supertrouperabba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.myspace.com/supertrouperabba&lt;/a&gt;&lt;br&gt;BLOGS: &lt;a href=&quot;http://tronprog.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tronprog.blogspot.com&lt;/a&gt;&amp;nbsp; &lt;a href=&quot;http://longlivemusic.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://longlivemusic.blogspot.com&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/src-highlite&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/src-highlite&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/gengetopt&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/gengen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/gengen&lt;/a&gt;&amp;nbsp;&lt;a href=&quot;http://doublecpp.sourceforge.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://doublecpp.sourceforge.net&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gengetopt mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25635091&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gengetopt@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gengetopt&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Gengetopt---Help-f1623.html&quot; embed=&quot;fixTarget[1623]&quot; target=&quot;_top&quot; &gt;Gnu - Gengetopt - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-feature-request--different-output-folders-for-*.h-and-*.c-and-dummy-conf-file-tp25401847p25635091.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25505332</id>
	<title>Re: convert ggo file to man page</title>
	<published>2009-09-18T02:02:55Z</published>
	<updated>2009-09-18T02:02:55Z</updated>
	<author>
		<name>Yegor Yefremov</name>
	</author>
	<content type="html">&lt;div class='shrinkable-quote'&gt;&amp;gt;&amp;gt; Do you have any solution on how to format examples so that they look
&lt;br&gt;&amp;gt;&amp;gt; correct in both gengetopt help and man page? I'd like to have it in
&lt;br&gt;&amp;gt;&amp;gt; the following form:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 1. if example and its description are short enough they should be
&lt;br&gt;&amp;gt;&amp;gt; placed on the same line with a tab between them
&lt;br&gt;&amp;gt;&amp;gt; 2. if example and its description are longer then place the
&lt;br&gt;&amp;gt;&amp;gt; description below and make some indentation as for the options.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Yegor, I tried with this reduced .ggo file (I modified it):
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; # Name of your program
&lt;br&gt;&amp;gt; package &amp;quot;hwtest&amp;quot; # don't use package if you're using automake
&lt;br&gt;&amp;gt; # Version of your program
&lt;br&gt;&amp;gt; version &amp;quot;1.2.1&amp;quot; &amp;nbsp; # don't use version if you're using automake
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; args &amp;quot;--conf-parser&amp;quot;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; # Options
&lt;br&gt;&amp;gt; section &amp;nbsp; &amp;nbsp;&amp;quot;Common options&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; sectiondesc=&amp;quot;this options are common to all test modules&amp;quot;
&lt;br&gt;&amp;gt; text &amp;quot;&amp;quot;
&lt;br&gt;&amp;gt; option &amp;quot;cfg&amp;quot; &amp;nbsp; &amp;nbsp;- &amp;nbsp; &amp;nbsp;&amp;quot;Configuration file&amp;quot; &amp;nbsp; &amp;nbsp;string typestr=&amp;quot;filename&amp;quot;
&lt;br&gt;&amp;gt; optional
&lt;br&gt;&amp;gt; option &amp;quot;cycles&amp;quot; &amp;nbsp; &amp;nbsp;- &amp;quot;Number of test cycles&amp;quot; &amp;nbsp; &amp;nbsp;int default=&amp;quot;0&amp;quot; optional
&lt;br&gt;&amp;gt; text &amp;quot;\n&amp;quot;
&lt;br&gt;&amp;gt; text &amp;quot;Examples:\n\n&amp;quot;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; text &amp;quot;hwtest --cycles=1 --size=4096 --net --verbose\n\n&amp;quot;
&lt;br&gt;&amp;gt; text &amp;quot;execute network test with 4096 byte big test file in verbose mode\n&amp;quot;
&lt;br&gt;&amp;gt; text &amp;quot;\n&amp;quot;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; text &amp;quot;hwtest --cycles=1 --mpci\n&amp;quot;
&lt;br&gt;&amp;gt; text &amp;quot;execute MiniPCI test\n&amp;quot;
&lt;br&gt;&amp;gt; text &amp;quot;\n&amp;quot;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; and the first line of help is formatted correctly by help2man, since it
&lt;br&gt;&amp;gt; contains a double \n (while the second one is not, since it contains
&lt;br&gt;&amp;gt; only one \n):
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; EXAMPLES
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;hwtest --cycles=1 --size=4096 --net --verbose
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;execute network test with 4096 byte big test file in verbose mode
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;hwtest --cycles=1 --mpci execute MiniPCI test
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; so it's just a matter of formatting the examples text as help2man
&lt;br&gt;&amp;gt; expects, I guess...
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; or am I missing something?
&lt;/div&gt;&lt;br&gt;Thank you for this example. I'll follow your advice and add extra \n for now. But what I wanted to say was, I'd like examples to be handled as options. Like this:
&lt;br&gt;&lt;br&gt;section &amp;quot;Examples&amp;quot; (perhaps without sectiondesc)
&lt;br&gt;example &amp;quot;example string&amp;quot; - &amp;quot;examples description&amp;quot;
&lt;br&gt;&lt;br&gt;and the formatting should also be the same as for the options. What do you think about it?
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Yegor
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gengetopt mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25505332&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gengetopt@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gengetopt&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Gengetopt---Help-f1623.html&quot; embed=&quot;fixTarget[1623]&quot; target=&quot;_top&quot; &gt;Gnu - Gengetopt - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/convert-ggo-file-to-man-page-tp25472278p25505332.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25496980</id>
	<title>Re: gengetopt with native Win32 CL.EXE</title>
	<published>2009-09-17T11:42:21Z</published>
	<updated>2009-09-17T11:42:21Z</updated>
	<author>
		<name>Lorenzo Bettini</name>
	</author>
	<content type="html">Andreas Baumann wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Thu, Sep 17, 2009 at 12:03:18PM +0200, Lorenzo Bettini wrote:
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; Andreas Baumann wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I tried to produce the C and header files from a GGO file for native
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Windows compilation with CL.EXE. Using any of the Cygwin or MinGW ports
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; of 'gengen` and 'gengetopt` as built-chain works.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; As I see it, there is a small problem in the generated C code with the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; FIX_UNUSED macro which is sometimes called before or in the middle of a
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; variable declaration in generated functions.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; After patching with gengetopt-2.22.2-fix-unused.patch, compilation is no problem.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; Hi Andreas
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; actually this should have already been fixed by this candidate
&lt;br&gt;&amp;gt;&amp;gt; release, if you want to try it
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://gdn.dsi.unifi.it/~bettini/gengetopt-2.22.3.tar.gz&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://gdn.dsi.unifi.it/~bettini/gengetopt-2.22.3.tar.gz&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Ah, perfect. :-)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Yes, the patch corrects exactly the same lines as in 2.22.3.
&lt;br&gt;&amp;gt; Works fine.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;happy to hear that!
&lt;br&gt;I'll release that version soon
&lt;br&gt;&lt;br&gt;cheers
&lt;br&gt;&amp;nbsp; &amp;nbsp; Lorenzo
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gengetopt mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25496980&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gengetopt@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gengetopt&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Gengetopt---Help-f1623.html&quot; embed=&quot;fixTarget[1623]&quot; target=&quot;_top&quot; &gt;Gnu - Gengetopt - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/gengetopt-with-native-Win32-CL.EXE-tp25443500p25496980.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25496191</id>
	<title>Re: gengetopt with native Win32 CL.EXE</title>
	<published>2009-09-17T10:54:39Z</published>
	<updated>2009-09-17T10:54:39Z</updated>
	<author>
		<name>Andreas Baumann-3</name>
	</author>
	<content type="html">On Thu, Sep 17, 2009 at 12:03:18PM +0200, Lorenzo Bettini wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Andreas Baumann wrote:
&lt;br&gt;&amp;gt; &amp;gt;Hi,
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;I tried to produce the C and header files from a GGO file for native
&lt;br&gt;&amp;gt; &amp;gt;Windows compilation with CL.EXE. Using any of the Cygwin or MinGW ports
&lt;br&gt;&amp;gt; &amp;gt;of 'gengen` and 'gengetopt` as built-chain works.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;As I see it, there is a small problem in the generated C code with the
&lt;br&gt;&amp;gt; &amp;gt;FIX_UNUSED macro which is sometimes called before or in the middle of a
&lt;br&gt;&amp;gt; &amp;gt;variable declaration in generated functions.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;After patching with gengetopt-2.22.2-fix-unused.patch, compilation is no problem.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hi Andreas
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; actually this should have already been fixed by this candidate
&lt;br&gt;&amp;gt; release, if you want to try it
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://gdn.dsi.unifi.it/~bettini/gengetopt-2.22.3.tar.gz&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://gdn.dsi.unifi.it/~bettini/gengetopt-2.22.3.tar.gz&lt;/a&gt;&lt;/div&gt;&lt;br&gt;Ah, perfect. :-)
&lt;br&gt;&lt;br&gt;Yes, the patch corrects exactly the same lines as in 2.22.3.
&lt;br&gt;Works fine.
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;&lt;br&gt;Andreas
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; hope to hear from you soon
&lt;br&gt;&amp;gt; cheers
&lt;br&gt;&amp;gt; 	Lorenzo
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
&lt;br&gt;&amp;gt; ICQ# lbetto, 16080134 &amp;nbsp; &amp;nbsp; (GNU/Linux User # 158233)
&lt;br&gt;&amp;gt; HOME: &lt;a href=&quot;http://www.lorenzobettini.it&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.lorenzobettini.it&lt;/a&gt;&amp;nbsp;MUSIC: &lt;a href=&quot;http://www.purplesucker.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.purplesucker.com&lt;/a&gt;&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.myspace.com/supertrouperabba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.myspace.com/supertrouperabba&lt;/a&gt;&lt;br&gt;&amp;gt; BLOGS: &lt;a href=&quot;http://tronprog.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tronprog.blogspot.com&lt;/a&gt;&amp;nbsp; &lt;a href=&quot;http://longlivemusic.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://longlivemusic.blogspot.com&lt;/a&gt;&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.gnu.org/software/src-highlite&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/src-highlite&lt;/a&gt;&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.gnu.org/software/gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/gengetopt&lt;/a&gt;&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.gnu.org/software/gengen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/gengen&lt;/a&gt;&amp;nbsp;&lt;a href=&quot;http://doublecpp.sourceforge.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://doublecpp.sourceforge.net&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Help-gengetopt mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25496191&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gengetopt@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gengetopt&lt;/a&gt;&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;Andreas Baumann
&lt;br&gt;Trottenstrasse 20
&lt;br&gt;CH-8037 Zuerich
&lt;br&gt;Telefon: +41(0)76/373 01 29
&lt;br&gt;E-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25496191&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;abaumann@...&lt;/a&gt;
&lt;br&gt;Homepage: www.andreasbaumann.cc
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gengetopt mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25496191&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gengetopt@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gengetopt&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Gengetopt---Help-f1623.html&quot; embed=&quot;fixTarget[1623]&quot; target=&quot;_top&quot; &gt;Gnu - Gengetopt - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/gengetopt-with-native-Win32-CL.EXE-tp25443500p25496191.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25504056</id>
	<title>Re: accept option arguments (even in enum)</title>
	<published>2009-09-17T10:29:43Z</published>
	<updated>2009-09-17T10:29:43Z</updated>
	<author>
		<name>Lorenzo Bettini</name>
	</author>
	<content type="html">Gyozo, on august I sent this email with a version that should implement 
&lt;br&gt;what you requested, have you managed to try it?
&lt;br&gt;&lt;br&gt;hi
&lt;br&gt;&lt;br&gt;I've uploaded a candidate release here
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://rap.dsi.unifi.it/~bettini/gengetopt-2.22.3.tar.gz&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rap.dsi.unifi.it/~bettini/gengetopt-2.22.3.tar.gz&lt;/a&gt;&lt;br&gt;&lt;br&gt;which provides this feature (you may want to take a look at test_values*
&lt;br&gt;files).
&lt;br&gt;&lt;br&gt;look forward to getting some feedback and then I'll release it :-)
&lt;br&gt;&lt;br&gt;cheers
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Lorenzo
&lt;br&gt;&lt;br&gt;Papp Gyozo (VBuster) wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; What do you think? gengetopt should enable symbols in enums or should we
&lt;br&gt;&amp;gt;&amp;gt; rephrase our idea? Please note that this option is multiple enum, so the
&lt;br&gt;&amp;gt;&amp;gt; real strength of this approach that custom mixed filter definitions can be
&lt;br&gt;&amp;gt;&amp;gt; described this way:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; --filter=+other,-missing
&lt;br&gt;&amp;gt;&amp;gt; well I think this would be feasible without any problem!
&lt;br&gt;&amp;gt;&amp;gt; My only concern is the literals used for the actual C enum values: + and 
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; - are not valid characters, so these characters should be translated 
&lt;br&gt;&amp;gt;&amp;gt; in the C enum...
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; something like
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; enum { filter_MINUS_UNSPECIFIED, filter_PLUS_OK, ... }
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; what do you think? &amp;nbsp;Or do you have any other suggestion?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; It would be ok. My first thought was to simply ignore special characters and replace them with an underscore (_) however it would raise the risk of ambiguity. MINUS , PLUS (and the others like QUOTE, EXCLAMATION?) would be ok.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Help-gengetopt mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25504056&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gengetopt@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gengetopt&lt;/a&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
&lt;br&gt;ICQ# lbetto, 16080134 &amp;nbsp; &amp;nbsp; (GNU/Linux User # 158233)
&lt;br&gt;HOME: &lt;a href=&quot;http://www.lorenzobettini.it&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.lorenzobettini.it&lt;/a&gt;&amp;nbsp;MUSIC: &lt;a href=&quot;http://www.purplesucker.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.purplesucker.com&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.myspace.com/supertrouperabba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.myspace.com/supertrouperabba&lt;/a&gt;&lt;br&gt;BLOGS: &lt;a href=&quot;http://tronprog.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tronprog.blogspot.com&lt;/a&gt;&amp;nbsp; &lt;a href=&quot;http://longlivemusic.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://longlivemusic.blogspot.com&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/src-highlite&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/src-highlite&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/gengetopt&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/gengen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/gengen&lt;/a&gt;&amp;nbsp;&lt;a href=&quot;http://doublecpp.sourceforge.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://doublecpp.sourceforge.net&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gengetopt mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25504056&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gengetopt@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gengetopt&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Gengetopt---Help-f1623.html&quot; embed=&quot;fixTarget[1623]&quot; target=&quot;_top&quot; &gt;Gnu - Gengetopt - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/accept-option-arguments-%28even-in-enum%29-tp24585174p25504056.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25495577</id>
	<title>Re: convert ggo file to man page</title>
	<published>2009-09-17T10:21:39Z</published>
	<updated>2009-09-17T10:21:39Z</updated>
	<author>
		<name>Lorenzo Bettini</name>
	</author>
	<content type="html">Yegor Yefremov wrote:
&lt;br&gt;&amp;gt; Do you have any solution on how to format examples so that they look correct in both gengetopt help and man page? I'd like to have it in the following form:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 1. if example and its description are short enough they should be placed on the same line with a tab between them
&lt;br&gt;&amp;gt; 2. if example and its description are longer then place the description below and make some indentation as for the options.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt; Yegor
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;Yegor, I tried with this reduced .ggo file (I modified it):
&lt;br&gt;&lt;br&gt;# Name of your program
&lt;br&gt;package &amp;quot;hwtest&amp;quot; # don't use package if you're using automake
&lt;br&gt;# Version of your program
&lt;br&gt;version &amp;quot;1.2.1&amp;quot; &amp;nbsp; # don't use version if you're using automake
&lt;br&gt;&lt;br&gt;args &amp;quot;--conf-parser&amp;quot;
&lt;br&gt;&lt;br&gt;# Options
&lt;br&gt;section	&amp;quot;Common options&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sectiondesc=&amp;quot;this options are common to all test modules&amp;quot;
&lt;br&gt;text &amp;quot;&amp;quot;
&lt;br&gt;option &amp;quot;cfg&amp;quot;	-	&amp;quot;Configuration file&amp;quot;	string typestr=&amp;quot;filename&amp;quot; optional
&lt;br&gt;option &amp;quot;cycles&amp;quot;	- &amp;quot;Number of test cycles&amp;quot;	int default=&amp;quot;0&amp;quot; optional
&lt;br&gt;text &amp;quot;\n&amp;quot;
&lt;br&gt;text &amp;quot;Examples:\n\n&amp;quot;
&lt;br&gt;&lt;br&gt;text &amp;quot;hwtest --cycles=1 --size=4096 --net --verbose\n\n&amp;quot;
&lt;br&gt;text &amp;quot;execute network test with 4096 byte big test file in verbose mode\n&amp;quot;
&lt;br&gt;text &amp;quot;\n&amp;quot;
&lt;br&gt;&lt;br&gt;text &amp;quot;hwtest --cycles=1 --mpci\n&amp;quot;
&lt;br&gt;text &amp;quot;execute MiniPCI test\n&amp;quot;
&lt;br&gt;text &amp;quot;\n&amp;quot;
&lt;br&gt;&lt;br&gt;and the first line of help is formatted correctly by help2man, since it 
&lt;br&gt;contains a double \n (while the second one is not, since it contains 
&lt;br&gt;only one \n):
&lt;br&gt;&lt;br&gt;EXAMPLES
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; hwtest --cycles=1 --size=4096 --net --verbose
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; execute network test with 4096 byte big test file in verbose mode
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; hwtest --cycles=1 --mpci execute MiniPCI test
&lt;br&gt;&lt;br&gt;so it's just a matter of formatting the examples text as help2man 
&lt;br&gt;expects, I guess...
&lt;br&gt;&lt;br&gt;or am I missing something?
&lt;br&gt;&lt;br&gt;cheers
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Lorenzo
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
&lt;br&gt;ICQ# lbetto, 16080134 &amp;nbsp; &amp;nbsp; (GNU/Linux User # 158233)
&lt;br&gt;HOME: &lt;a href=&quot;http://www.lorenzobettini.it&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.lorenzobettini.it&lt;/a&gt;&amp;nbsp;MUSIC: &lt;a href=&quot;http://www.purplesucker.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.purplesucker.com&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.myspace.com/supertrouperabba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.myspace.com/supertrouperabba&lt;/a&gt;&lt;br&gt;BLOGS: &lt;a href=&quot;http://tronprog.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tronprog.blogspot.com&lt;/a&gt;&amp;nbsp; &lt;a href=&quot;http://longlivemusic.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://longlivemusic.blogspot.com&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/src-highlite&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/src-highlite&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/gengetopt&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/gengen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/gengen&lt;/a&gt;&amp;nbsp;&lt;a href=&quot;http://doublecpp.sourceforge.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://doublecpp.sourceforge.net&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gengetopt mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25495577&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gengetopt@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gengetopt&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Gengetopt---Help-f1623.html&quot; embed=&quot;fixTarget[1623]&quot; target=&quot;_top&quot; &gt;Gnu - Gengetopt - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/convert-ggo-file-to-man-page-tp25472278p25495577.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25493798</id>
	<title>Re: [feature-request] different output folders for *.h and *.c and dummy conf file</title>
	<published>2009-09-17T08:36:01Z</published>
	<updated>2009-09-17T08:36:01Z</updated>
	<author>
		<name>Lorenzo Bettini</name>
	</author>
	<content type="html">Yegor Yefremov wrote:
&lt;br&gt;&amp;gt; Hi Lorenzo,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I've made a quick patch to enable different output folders for *.h and *.c files. Could you review it?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Add --header-output-dir and --src_output-dir to store cmdline.h separately from cmdline.c
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;thanks for the patch Yegor :-)
&lt;br&gt;&lt;br&gt;I'll review it ASAP!
&lt;br&gt;&lt;br&gt;cheers
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Lorenzo
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
&lt;br&gt;ICQ# lbetto, 16080134 &amp;nbsp; &amp;nbsp; (GNU/Linux User # 158233)
&lt;br&gt;HOME: &lt;a href=&quot;http://www.lorenzobettini.it&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.lorenzobettini.it&lt;/a&gt;&amp;nbsp;MUSIC: &lt;a href=&quot;http://www.purplesucker.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.purplesucker.com&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.myspace.com/supertrouperabba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.myspace.com/supertrouperabba&lt;/a&gt;&lt;br&gt;BLOGS: &lt;a href=&quot;http://tronprog.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tronprog.blogspot.com&lt;/a&gt;&amp;nbsp; &lt;a href=&quot;http://longlivemusic.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://longlivemusic.blogspot.com&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/src-highlite&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/src-highlite&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/gengetopt&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/gengen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/gengen&lt;/a&gt;&amp;nbsp;&lt;a href=&quot;http://doublecpp.sourceforge.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://doublecpp.sourceforge.net&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gengetopt mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25493798&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gengetopt@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gengetopt&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Gengetopt---Help-f1623.html&quot; embed=&quot;fixTarget[1623]&quot; target=&quot;_top&quot; &gt;Gnu - Gengetopt - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-feature-request--different-output-folders-for-*.h-and-*.c-and-dummy-conf-file-tp25401847p25493798.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25493365</id>
	<title>Re: [feature-request] different output folders for *.h and *.c and dummy conf file</title>
	<published>2009-09-17T08:14:21Z</published>
	<updated>2009-09-17T08:14:21Z</updated>
	<author>
		<name>Yegor Yefremov</name>
	</author>
	<content type="html">Hi Lorenzo,
&lt;br&gt;&lt;br&gt;I've made a quick patch to enable different output folders for *.h and *.c files. Could you review it?
&lt;br&gt;&lt;br&gt;&lt;br&gt;Add --header-output-dir and --src_output-dir to store cmdline.h separately from cmdline.c
&lt;br&gt;&lt;br&gt;Signed-off-by: Yegor Yefremov &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25493365&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;yegorslists@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;Index: gengetopt/src/cmdline.ggo
&lt;br&gt;===================================================================
&lt;br&gt;--- gengetopt.orig/src/cmdline.ggo
&lt;br&gt;+++ gengetopt/src/cmdline.ggo
&lt;br&gt;@@ -73,6 +73,8 @@ option &amp;nbsp;&amp;quot;file-name&amp;quot; &amp;nbsp; &amp;nbsp; F &amp;quot;name of gener
&lt;br&gt;&amp;nbsp;option &amp;nbsp;&amp;quot;output-dir&amp;quot; &amp;nbsp; &amp;nbsp; - &amp;quot;output directory&amp;quot; &amp;nbsp;string typestr=&amp;quot;path&amp;quot; &amp;nbsp;optional
&lt;br&gt;&amp;nbsp;	details=&amp;quot;\nif this option is not specified, the \
&lt;br&gt;&amp;nbsp;files are generated in the current directory.\n&amp;quot;
&lt;br&gt;+option &amp;nbsp;&amp;quot;header-output-dir&amp;quot; &amp;nbsp; &amp;nbsp; - &amp;quot;header output directory&amp;quot; &amp;nbsp;string typestr=&amp;quot;path&amp;quot; optional
&lt;br&gt;+option &amp;nbsp;&amp;quot;src-output-dir&amp;quot; &amp;nbsp; &amp;nbsp; - &amp;quot;source output directory&amp;quot; &amp;nbsp;string typestr=&amp;quot;path&amp;quot; optional
&lt;br&gt;&amp;nbsp;option &amp;nbsp;&amp;quot;c-extension&amp;quot; &amp;nbsp; c &amp;quot;extension of c file&amp;quot; string typestr=&amp;quot;ext&amp;quot; default=&amp;quot;c&amp;quot; optional
&lt;br&gt;&amp;nbsp;option &amp;nbsp;&amp;quot;header-extension&amp;quot; &amp;nbsp; H &amp;quot;extension of header file&amp;quot; string typestr=&amp;quot;ext&amp;quot; default=&amp;quot;h&amp;quot; optional
&lt;br&gt;&amp;nbsp;option &amp;nbsp;&amp;quot;long-help&amp;quot; &amp;nbsp; &amp;nbsp; l &amp;quot;long usage line in help&amp;quot; optional
&lt;br&gt;Index: gengetopt/src/gengetopt.cc
&lt;br&gt;===================================================================
&lt;br&gt;--- gengetopt.orig/src/gengetopt.cc
&lt;br&gt;+++ gengetopt/src/gengetopt.cc
&lt;br&gt;@@ -108,7 +108,7 @@ main (int argc, char **argv)
&lt;br&gt;&amp;nbsp; &amp;nbsp;char *cmdline_filename ; /* name of generated file */
&lt;br&gt;&amp;nbsp; &amp;nbsp;char *c_ext ; /* extenstion of c file */
&lt;br&gt;&amp;nbsp; &amp;nbsp;char *header_ext &amp;nbsp;; /* extenstion of header file */
&lt;br&gt;- &amp;nbsp;string output_dir; /* output directory (default empty -&amp;gt; current dir)*/
&lt;br&gt;+ &amp;nbsp;string output_dir, header_output_dir, src_output_dir; /* output directory (default empty -&amp;gt; current dir)*/
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp;int i, has_help, has_version;
&lt;br&gt;&amp;nbsp; &amp;nbsp;FILE *input_file ;
&lt;br&gt;@@ -252,6 +252,10 @@ main (int argc, char **argv)
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp;if (args_info.output_dir_given)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;output_dir = args_info.output_dir_arg;
&lt;br&gt;+ &amp;nbsp;if (args_info.header_output_dir_given)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;header_output_dir = args_info.header_output_dir_arg;
&lt;br&gt;+ &amp;nbsp;if (args_info.src_output_dir_given)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;src_output_dir = args_info.src_output_dir_arg;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp;CmdlineParserCreator cmdline_parser_creator
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;(cmdline_parser_name,
&lt;br&gt;@@ -273,6 +277,8 @@ main (int argc, char **argv)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; no_options,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; command_line.str (),
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; output_dir,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; header_output_dir,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; src_output_dir,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; (args_info.show_required_given ? args_info.show_required_arg : &amp;quot;&amp;quot;));
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp;if (! gengetopt_package &amp;&amp; (args_info.show_version_given || args_info.show_help_given))
&lt;br&gt;Index: gengetopt/src/gm.cc
&lt;br&gt;===================================================================
&lt;br&gt;--- gengetopt.orig/src/gm.cc
&lt;br&gt;+++ gengetopt/src/gm.cc
&lt;br&gt;@@ -167,10 +167,14 @@ CmdlineParserCreator::CmdlineParserCreat
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bool no_options_,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;const string &amp;comment_,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;const string &amp;outdir,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;const string &amp;header_outdir,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;const string &amp;src_outdir,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;const string &amp;show_required) :
&lt;br&gt;&amp;nbsp; &amp;nbsp;filename (filename_),
&lt;br&gt;&amp;nbsp; &amp;nbsp;args_info_name (struct_name),
&lt;br&gt;&amp;nbsp; &amp;nbsp;output_dir (outdir),
&lt;br&gt;+ &amp;nbsp;header_output_dir (header_outdir),
&lt;br&gt;+ &amp;nbsp;src_output_dir (src_outdir),
&lt;br&gt;&amp;nbsp; &amp;nbsp;comment (comment_),
&lt;br&gt;&amp;nbsp; &amp;nbsp;unamed_options (unamed_options_),
&lt;br&gt;&amp;nbsp; &amp;nbsp;show_required_string (show_required),
&lt;br&gt;@@ -378,7 +382,9 @@ CmdlineParserCreator::generate_header_fi
&lt;br&gt;&amp;nbsp; &amp;nbsp;/* ****************************************************** */
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;string header_file = header_filename;
&lt;br&gt;- &amp;nbsp; &amp;nbsp;if (output_dir.size())
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;if (header_output_dir.size())
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;header_file = header_output_dir + &amp;quot;/&amp;quot; + header_file;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;else if (output_dir.size())
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;header_file = output_dir + &amp;quot;/&amp;quot; + header_file;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;ofstream *output_file = open_fstream
&lt;br&gt;@@ -1947,7 +1953,10 @@ CmdlineParserCreator::generate_source ()
&lt;br&gt;&amp;nbsp; &amp;nbsp;set_getopt_string (generate_getopt_string ());
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp;string output_source = c_filename;
&lt;br&gt;- &amp;nbsp;if (output_dir.size())
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp;if (src_output_dir.size())
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;output_source = src_output_dir + &amp;quot;/&amp;quot; + output_source;
&lt;br&gt;+ &amp;nbsp;else if (output_dir.size())
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;output_source = output_dir + &amp;quot;/&amp;quot; + output_source;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp;ofstream *output_file = open_fstream (output_source.c_str());
&lt;br&gt;Index: gengetopt/src/gm.h
&lt;br&gt;===================================================================
&lt;br&gt;--- gengetopt.orig/src/gm.h
&lt;br&gt;+++ gengetopt/src/gm.h
&lt;br&gt;@@ -42,6 +42,8 @@ class CmdlineParserCreator : public head
&lt;br&gt;&amp;nbsp; &amp;nbsp;char *header_filename;
&lt;br&gt;&amp;nbsp; &amp;nbsp;char *c_filename;
&lt;br&gt;&amp;nbsp; &amp;nbsp;string output_dir;
&lt;br&gt;+ &amp;nbsp;string header_output_dir;
&lt;br&gt;+ &amp;nbsp;string src_output_dir;
&lt;br&gt;&amp;nbsp; &amp;nbsp;string comment;
&lt;br&gt;&amp;nbsp; &amp;nbsp;char *unamed_options;
&lt;br&gt;&amp;nbsp; &amp;nbsp;string show_required_string;
&lt;br&gt;@@ -138,6 +140,8 @@ class CmdlineParserCreator : public head
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bool gen_version, bool gen_getopt, bool no_options,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;const string &amp;comment,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;const string &amp;outdir,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;const string &amp;header_outdir,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;const string &amp;src_outdir,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;const string &amp;show_required);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp;int generate();
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gengetopt mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25493365&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gengetopt@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gengetopt&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Gengetopt---Help-f1623.html&quot; embed=&quot;fixTarget[1623]&quot; target=&quot;_top&quot; &gt;Gnu - Gengetopt - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-feature-request--different-output-folders-for-*.h-and-*.c-and-dummy-conf-file-tp25401847p25493365.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25491807</id>
	<title>Re: convert ggo file to man page</title>
	<published>2009-09-17T06:57:45Z</published>
	<updated>2009-09-17T06:57:45Z</updated>
	<author>
		<name>Yegor Yefremov</name>
	</author>
	<content type="html">Do you have any solution on how to format examples so that they look correct in both gengetopt help and man page? I'd like to have it in the following form:
&lt;br&gt;&lt;br&gt;1. if example and its description are short enough they should be placed on the same line with a tab between them
&lt;br&gt;2. if example and its description are longer then place the description below and make some indentation as for the options.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Yegor
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; It is the smallest problem ;-) It is older version at our public repo.
&lt;br&gt;&amp;gt; I've locally changed &amp;quot;Usage examples&amp;quot; to &amp;quot;Examples&amp;quot;, so I get EXAMPLES
&lt;br&gt;&amp;gt; section. But the examples itself look like this in hwtest --help:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; hwtest --cycles=1 --usb --usbmntdev=/dev/sda1
&lt;br&gt;&amp;gt; execute USB test for the first detected mass storage device
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; and so they look in man page:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; hwtest --cycles=1 --usb --usbmntdev=/dev/sda1 execute USB test for the
&lt;br&gt;&amp;gt; first detected mass storage device
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt; Yegor
&lt;br&gt;&amp;gt;&amp;gt; From the example at the GNU site, it looks like help2man expects an
&lt;br&gt;&amp;gt;&amp;gt; &amp;quot;Examples:&amp;quot; section, while your goo has &amp;quot;Usage examples:&amp;quot;; isn't it
&lt;br&gt;&amp;gt;&amp;gt; the problem?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Yegor Yefremov wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; It were also useful to have a real EXAMPLES section, where one could
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; place examples with special tags, so it looks like here
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.gnu.org/software/help2man/#example&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/help2man/#example&lt;/a&gt;. I get only complete
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; strings despite of setting \n between the example and its
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; description. See my ggo file
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://svn.visionsystems.de/cgi-bin/viewvc.cgi/trunk/hwtest/hwtest.ggo?root=OpenRISC_Software&amp;view=markup&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://svn.visionsystems.de/cgi-bin/viewvc.cgi/trunk/hwtest/hwtest.ggo?root=OpenRISC_Software&amp;view=markup&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; It does :-)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; and I discovered it while developing gengetopt actually!
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Yegor Yefremov wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Thank you for your answers. help2man rocks!
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Yegor
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; actually gengetopt itself creates its man page using help2man:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; once you
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; have your program (that uses the gengetopt generated parser), you can
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; build the manpage with help2man, e.g.,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; help2man yourprogram
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; for gengetopt I do
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; help2man ./gengetopt --help-option=&amp;quot;--detailed-help&amp;quot; &amp;gt; gengetopt.1
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; cheers
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; Lorenzo
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Salvatore Santagati wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Well, I believe is a good idea also if possible create a man page
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; with
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; help2man
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Salvatore
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; On Wed, Sep 16, 2009 at 2:53 PM, Yegor Yefremov
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25491807&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;yegor_sub1@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Hi Lorenzo,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; where it possible to automatically create a man page from ggo file?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; It would be a great feature.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Thank you in advance.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Help-gengetopt mailing list
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25491807&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gengetopt@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gengetopt&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Help-gengetopt mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25491807&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gengetopt@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gengetopt&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gengetopt mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25491807&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gengetopt@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gengetopt&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Gengetopt---Help-f1623.html&quot; embed=&quot;fixTarget[1623]&quot; target=&quot;_top&quot; &gt;Gnu - Gengetopt - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/convert-ggo-file-to-man-page-tp25472278p25491807.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25489387</id>
	<title>Re: convert ggo file to man page</title>
	<published>2009-09-17T04:19:04Z</published>
	<updated>2009-09-17T04:19:04Z</updated>
	<author>
		<name>Andre Noll</name>
	</author>
	<content type="html">On 11:29, Lorenzo Bettini wrote:
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;True. But this does not work when cross-compiling. Would it be
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;difficult to implement something like
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;	gengetopt --print-detailed-help &amp;lt; my.ggo
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;which would output the detailed help text directly?
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;there are already options for this :-)
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;Wow :)
&lt;br&gt;&amp;gt; &amp;gt;Thanks for pointing that out, and sorry for not RTFM.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; No problem :-)
&lt;br&gt;&amp;gt; but does this solve the problem of cross-compiling?
&lt;br&gt;&amp;gt; Moreover, I guess help2man expects a program name, not a simple output?
&lt;/div&gt;&lt;/div&gt;Well, it's a first step. If help2man could read from stdin
&lt;br&gt;instead of insisting to call an executable to obtain its input,
&lt;br&gt;the cross-compiling problem would be solved. But that's not a real
&lt;br&gt;problem because one can always use a shell script wrapper like
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #!/bin/sh
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case $1 in
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; --help) gengetopt --show-help &amp;lt; my.ggo;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; --detailed-help) gengetopt --show-detailed-help &amp;lt; my.ggo;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; esac
&lt;br&gt;&lt;br&gt;Best
&lt;br&gt;Andre
&lt;br&gt;-- 
&lt;br&gt;The only person who always got his work done by Friday was Robinson Crusoe
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;Help-gengetopt mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25489387&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gengetopt@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gengetopt&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (196 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/25489387/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Gengetopt---Help-f1623.html&quot; embed=&quot;fixTarget[1623]&quot; target=&quot;_top&quot; &gt;Gnu - Gengetopt - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/convert-ggo-file-to-man-page-tp25472278p25489387.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25488409</id>
	<title>Re: gengetopt with native Win32 CL.EXE</title>
	<published>2009-09-17T03:03:18Z</published>
	<updated>2009-09-17T03:03:18Z</updated>
	<author>
		<name>Lorenzo Bettini</name>
	</author>
	<content type="html">Andreas Baumann wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I tried to produce the C and header files from a GGO file for native
&lt;br&gt;&amp;gt; Windows compilation with CL.EXE. Using any of the Cygwin or MinGW ports
&lt;br&gt;&amp;gt; of 'gengen` and 'gengetopt` as built-chain works.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; As I see it, there is a small problem in the generated C code with the
&lt;br&gt;&amp;gt; FIX_UNUSED macro which is sometimes called before or in the middle of a
&lt;br&gt;&amp;gt; variable declaration in generated functions.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; After patching with gengetopt-2.22.2-fix-unused.patch, compilation is no problem.
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;Hi Andreas
&lt;br&gt;&lt;br&gt;actually this should have already been fixed by this candidate release, 
&lt;br&gt;if you want to try it
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://gdn.dsi.unifi.it/~bettini/gengetopt-2.22.3.tar.gz&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://gdn.dsi.unifi.it/~bettini/gengetopt-2.22.3.tar.gz&lt;/a&gt;&lt;br&gt;&lt;br&gt;hope to hear from you soon
&lt;br&gt;cheers
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Lorenzo
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
&lt;br&gt;ICQ# lbetto, 16080134 &amp;nbsp; &amp;nbsp; (GNU/Linux User # 158233)
&lt;br&gt;HOME: &lt;a href=&quot;http://www.lorenzobettini.it&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.lorenzobettini.it&lt;/a&gt;&amp;nbsp;MUSIC: &lt;a href=&quot;http://www.purplesucker.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.purplesucker.com&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.myspace.com/supertrouperabba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.myspace.com/supertrouperabba&lt;/a&gt;&lt;br&gt;BLOGS: &lt;a href=&quot;http://tronprog.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tronprog.blogspot.com&lt;/a&gt;&amp;nbsp; &lt;a href=&quot;http://longlivemusic.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://longlivemusic.blogspot.com&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/src-highlite&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/src-highlite&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/gengetopt&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/gengen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/gengen&lt;/a&gt;&amp;nbsp;&lt;a href=&quot;http://doublecpp.sourceforge.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://doublecpp.sourceforge.net&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gengetopt mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25488409&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gengetopt@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gengetopt&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Gengetopt---Help-f1623.html&quot; embed=&quot;fixTarget[1623]&quot; target=&quot;_top&quot; &gt;Gnu - Gengetopt - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/gengetopt-with-native-Win32-CL.EXE-tp25443500p25488409.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25488002</id>
	<title>Re: convert ggo file to man page</title>
	<published>2009-09-17T02:29:49Z</published>
	<updated>2009-09-17T02:29:49Z</updated>
	<author>
		<name>Lorenzo Bettini</name>
	</author>
	<content type="html">Andre Noll wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On 19:13, Lorenzo Bettini wrote:
&lt;br&gt;&amp;gt;&amp;gt; Andre Noll wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; On 16:26, Lorenzo Bettini wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; actually gengetopt itself creates its man page using help2man: once you 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; have your program (that uses the gengetopt generated parser), you can 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; build the manpage with help2man, e.g.,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; help2man yourprogram
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; True. But this does not work when cross-compiling. Would it be
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; difficult to implement something like
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 	gengetopt --print-detailed-help &amp;lt; my.ggo
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; which would output the detailed help text directly?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; there are already options for this :-)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Wow :)
&lt;br&gt;&amp;gt; Thanks for pointing that out, and sorry for not RTFM.
&lt;/div&gt;&lt;br&gt;No problem :-)
&lt;br&gt;but does this solve the problem of cross-compiling?
&lt;br&gt;Moreover, I guess help2man expects a program name, not a simple output?
&lt;br&gt;&lt;br&gt;cheers
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Lorenzo
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
&lt;br&gt;ICQ# lbetto, 16080134 &amp;nbsp; &amp;nbsp; (GNU/Linux User # 158233)
&lt;br&gt;HOME: &lt;a href=&quot;http://www.lorenzobettini.it&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.lorenzobettini.it&lt;/a&gt;&amp;nbsp;MUSIC: &lt;a href=&quot;http://www.purplesucker.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.purplesucker.com&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.myspace.com/supertrouperabba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.myspace.com/supertrouperabba&lt;/a&gt;&lt;br&gt;BLOGS: &lt;a href=&quot;http://tronprog.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tronprog.blogspot.com&lt;/a&gt;&amp;nbsp; &lt;a href=&quot;http://longlivemusic.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://longlivemusic.blogspot.com&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/src-highlite&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/src-highlite&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/gengetopt&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/gengen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/gengen&lt;/a&gt;&amp;nbsp;&lt;a href=&quot;http://doublecpp.sourceforge.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://doublecpp.sourceforge.net&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gengetopt mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25488002&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gengetopt@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gengetopt&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Gengetopt---Help-f1623.html&quot; embed=&quot;fixTarget[1623]&quot; target=&quot;_top&quot; &gt;Gnu - Gengetopt - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/convert-ggo-file-to-man-page-tp25472278p25488002.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25487392</id>
	<title>Re: convert ggo file to man page</title>
	<published>2009-09-17T01:13:36Z</published>
	<updated>2009-09-17T01:13:36Z</updated>
	<author>
		<name>Andre Noll</name>
	</author>
	<content type="html">On 19:13, Lorenzo Bettini wrote:
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Andre Noll wrote:
&lt;br&gt;&amp;gt; &amp;gt;On 16:26, Lorenzo Bettini wrote:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;actually gengetopt itself creates its man page using help2man: once you 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;have your program (that uses the gengetopt generated parser), you can 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;build the manpage with help2man, e.g.,
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;help2man yourprogram
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;True. But this does not work when cross-compiling. Would it be
&lt;br&gt;&amp;gt; &amp;gt;difficult to implement something like
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;	gengetopt --print-detailed-help &amp;lt; my.ggo
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;which would output the detailed help text directly?
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; there are already options for this :-)
&lt;/div&gt;&lt;/div&gt;Wow :)
&lt;br&gt;Thanks for pointing that out, and sorry for not RTFM.
&lt;br&gt;&lt;br&gt;Andre
&lt;br&gt;-- 
&lt;br&gt;The only person who always got his work done by Friday was Robinson Crusoe
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;Help-gengetopt mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25487392&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gengetopt@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gengetopt&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (196 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/25487392/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Gengetopt---Help-f1623.html&quot; embed=&quot;fixTarget[1623]&quot; target=&quot;_top&quot; &gt;Gnu - Gengetopt - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/convert-ggo-file-to-man-page-tp25472278p25487392.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25476765</id>
	<title>Re: convert ggo file to man page</title>
	<published>2009-09-16T10:13:20Z</published>
	<updated>2009-09-16T10:13:20Z</updated>
	<author>
		<name>Lorenzo Bettini</name>
	</author>
	<content type="html">Andre Noll wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On 16:26, Lorenzo Bettini wrote:
&lt;br&gt;&amp;gt;&amp;gt; actually gengetopt itself creates its man page using help2man: once you 
&lt;br&gt;&amp;gt;&amp;gt; have your program (that uses the gengetopt generated parser), you can 
&lt;br&gt;&amp;gt;&amp;gt; build the manpage with help2man, e.g.,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; help2man yourprogram
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; True. But this does not work when cross-compiling. Would it be
&lt;br&gt;&amp;gt; difficult to implement something like
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 	gengetopt --print-detailed-help &amp;lt; my.ggo
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; which would output the detailed help text directly?
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;there are already options for this :-)
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;--show-help &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; show the output of --help instead of 
&lt;br&gt;generating
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;code
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;--show-full-help &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;show the output of --full-help (i.e., 
&lt;br&gt;including
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;hidden options) instead of generating 
&lt;br&gt;code
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;--show-detailed-help &amp;nbsp; &amp;nbsp; &amp;nbsp;show the output of --detailed-help (i.e.,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;including details and hidden options) 
&lt;br&gt;instead
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;of generating code
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;--show-version &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;show the output of --version instead of
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;generating code
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
&lt;br&gt;ICQ# lbetto, 16080134 &amp;nbsp; &amp;nbsp; (GNU/Linux User # 158233)
&lt;br&gt;HOME: &lt;a href=&quot;http://www.lorenzobettini.it&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.lorenzobettini.it&lt;/a&gt;&amp;nbsp;MUSIC: &lt;a href=&quot;http://www.purplesucker.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.purplesucker.com&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.myspace.com/supertrouperabba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.myspace.com/supertrouperabba&lt;/a&gt;&lt;br&gt;BLOGS: &lt;a href=&quot;http://tronprog.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tronprog.blogspot.com&lt;/a&gt;&amp;nbsp; &lt;a href=&quot;http://longlivemusic.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://longlivemusic.blogspot.com&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/src-highlite&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/src-highlite&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/gengetopt&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/gengen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/gengen&lt;/a&gt;&amp;nbsp;&lt;a href=&quot;http://doublecpp.sourceforge.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://doublecpp.sourceforge.net&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gengetopt mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25476765&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gengetopt@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gengetopt&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Gengetopt---Help-f1623.html&quot; embed=&quot;fixTarget[1623]&quot; target=&quot;_top&quot; &gt;Gnu - Gengetopt - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/convert-ggo-file-to-man-page-tp25472278p25476765.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25475215</id>
	<title>Re: convert ggo file to man page</title>
	<published>2009-09-16T08:45:57Z</published>
	<updated>2009-09-16T08:45:57Z</updated>
	<author>
		<name>Andre Noll</name>
	</author>
	<content type="html">On 16:26, Lorenzo Bettini wrote:
&lt;br&gt;&amp;gt; actually gengetopt itself creates its man page using help2man: once you 
&lt;br&gt;&amp;gt; have your program (that uses the gengetopt generated parser), you can 
&lt;br&gt;&amp;gt; build the manpage with help2man, e.g.,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; help2man yourprogram
&lt;br&gt;&lt;br&gt;True. But this does not work when cross-compiling. Would it be
&lt;br&gt;difficult to implement something like
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gengetopt --print-detailed-help &amp;lt; my.ggo
&lt;br&gt;&lt;br&gt;which would output the detailed help text directly?
&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;Andre
&lt;br&gt;-- 
&lt;br&gt;The only person who always got his work done by Friday was Robinson Crusoe
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;Help-gengetopt mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25475215&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gengetopt@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gengetopt&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (196 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/25475215/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Gengetopt---Help-f1623.html&quot; embed=&quot;fixTarget[1623]&quot; target=&quot;_top&quot; &gt;Gnu - Gengetopt - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/convert-ggo-file-to-man-page-tp25472278p25475215.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25474977</id>
	<title>Re: convert ggo file to man page</title>
	<published>2009-09-16T08:33:31Z</published>
	<updated>2009-09-16T08:33:31Z</updated>
	<author>
		<name>Yegor Yefremov</name>
	</author>
	<content type="html">It is the smallest problem ;-) It is older version at our public repo.
&lt;br&gt;I've locally changed &amp;quot;Usage examples&amp;quot; to &amp;quot;Examples&amp;quot;, so I get EXAMPLES
&lt;br&gt;section. But the examples itself look like this in hwtest --help:
&lt;br&gt;&lt;br&gt;hwtest --cycles=1 --usb --usbmntdev=/dev/sda1
&lt;br&gt;execute USB test for the first detected mass storage device
&lt;br&gt;&lt;br&gt;and so they look in man page:
&lt;br&gt;&lt;br&gt;hwtest --cycles=1 --usb --usbmntdev=/dev/sda1 execute USB test for the
&lt;br&gt;first detected mass storage device
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Yegor
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; From the example at the GNU site, it looks like help2man expects an
&lt;br&gt;&amp;gt; &amp;quot;Examples:&amp;quot; section, while your goo has &amp;quot;Usage examples:&amp;quot;; isn't it
&lt;br&gt;&amp;gt; the problem?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Yegor Yefremov wrote:
&lt;br&gt;&amp;gt;&amp;gt; It were also useful to have a real EXAMPLES section, where one could
&lt;br&gt;&amp;gt;&amp;gt; place examples with special tags, so it looks like here
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.gnu.org/software/help2man/#example&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/help2man/#example&lt;/a&gt;. I get only complete
&lt;br&gt;&amp;gt;&amp;gt; strings despite of setting \n between the example and its
&lt;br&gt;&amp;gt;&amp;gt; description. See my ggo file
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://svn.visionsystems.de/cgi-bin/viewvc.cgi/trunk/hwtest/hwtest.ggo?root=OpenRISC_Software&amp;view=markup&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://svn.visionsystems.de/cgi-bin/viewvc.cgi/trunk/hwtest/hwtest.ggo?root=OpenRISC_Software&amp;view=markup&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; It does :-)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; and I discovered it while developing gengetopt actually!
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Yegor Yefremov wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Thank you for your answers. help2man rocks!
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Yegor
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; actually gengetopt itself creates its man page using help2man:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; once you
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; have your program (that uses the gengetopt generated parser), you can
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; build the manpage with help2man, e.g.,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; help2man yourprogram
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; for gengetopt I do
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; help2man ./gengetopt --help-option=&amp;quot;--detailed-help&amp;quot; &amp;gt; gengetopt.1
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; cheers
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; Lorenzo
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Salvatore Santagati wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Well, I believe is a good idea also if possible create a man page
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; with
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; help2man
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Salvatore
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; On Wed, Sep 16, 2009 at 2:53 PM, Yegor Yefremov
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25474977&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;yegor_sub1@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Hi Lorenzo,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; where it possible to automatically create a man page from ggo file?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; It would be a great feature.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Thank you in advance.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Help-gengetopt mailing list
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25474977&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gengetopt@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gengetopt&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gengetopt mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25474977&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gengetopt@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gengetopt&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Gengetopt---Help-f1623.html&quot; embed=&quot;fixTarget[1623]&quot; target=&quot;_top&quot; &gt;Gnu - Gengetopt - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/convert-ggo-file-to-man-page-tp25472278p25474977.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25473847</id>
	<title>Re: convert ggo file to man page</title>
	<published>2009-09-16T07:37:16Z</published>
	<updated>2009-09-16T07:37:16Z</updated>
	<author>
		<name>Lorenzo Bettini</name>
	</author>
	<content type="html">It does :-)
&lt;br&gt;and I discovered it while developing gengetopt actually!
&lt;br&gt;&lt;br&gt;Yegor Yefremov wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Thank you for your answers. help2man rocks!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt; Yegor
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; actually gengetopt itself creates its man page using help2man: once you
&lt;br&gt;&amp;gt;&amp;gt; have your program (that uses the gengetopt generated parser), you can
&lt;br&gt;&amp;gt;&amp;gt; build the manpage with help2man, e.g.,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; help2man yourprogram
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; for gengetopt I do
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; help2man ./gengetopt --help-option=&amp;quot;--detailed-help&amp;quot; &amp;gt; gengetopt.1
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; cheers
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; Lorenzo
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Salvatore Santagati wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Well, I believe is a good idea also if possible create a man page with
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; help2man
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Salvatore
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; On Wed, Sep 16, 2009 at 2:53 PM, Yegor Yefremov
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25473847&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;yegor_sub1@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Hi Lorenzo,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; where it possible to automatically create a man page from ggo file?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; It would be a great feature.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Thank you in advance.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Help-gengetopt mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25473847&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gengetopt@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gengetopt&lt;/a&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
&lt;br&gt;ICQ# lbetto, 16080134 &amp;nbsp; &amp;nbsp; (GNU/Linux User # 158233)
&lt;br&gt;HOME: &lt;a href=&quot;http://www.lorenzobettini.it&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.lorenzobettini.it&lt;/a&gt;&amp;nbsp;MUSIC: &lt;a href=&quot;http://www.purplesucker.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.purplesucker.com&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.myspace.com/supertrouperabba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.myspace.com/supertrouperabba&lt;/a&gt;&lt;br&gt;BLOGS: &lt;a href=&quot;http://tronprog.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tronprog.blogspot.com&lt;/a&gt;&amp;nbsp; &lt;a href=&quot;http://longlivemusic.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://longlivemusic.blogspot.com&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/src-highlite&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/src-highlite&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/gengetopt&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/gengen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/gengen&lt;/a&gt;&amp;nbsp;&lt;a href=&quot;http://doublecpp.sourceforge.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://doublecpp.sourceforge.net&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gengetopt mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25473847&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gengetopt@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gengetopt&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Gengetopt---Help-f1623.html&quot; embed=&quot;fixTarget[1623]&quot; target=&quot;_top&quot; &gt;Gnu - Gengetopt - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/convert-ggo-file-to-man-page-tp25472278p25473847.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25473780</id>
	<title>Re: convert ggo file to man page</title>
	<published>2009-09-16T07:33:34Z</published>
	<updated>2009-09-16T07:33:34Z</updated>
	<author>
		<name>Yegor Yefremov</name>
	</author>
	<content type="html">Thank you for your answers. help2man rocks!
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Yegor
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; actually gengetopt itself creates its man page using help2man: once you
&lt;br&gt;&amp;gt; have your program (that uses the gengetopt generated parser), you can
&lt;br&gt;&amp;gt; build the manpage with help2man, e.g.,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; help2man yourprogram
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; for gengetopt I do
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; help2man ./gengetopt --help-option=&amp;quot;--detailed-help&amp;quot; &amp;gt; gengetopt.1
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; cheers
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Lorenzo
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Salvatore Santagati wrote:
&lt;br&gt;&amp;gt;&amp;gt; Well, I believe is a good idea also if possible create a man page with
&lt;br&gt;&amp;gt;&amp;gt; help2man
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Salvatore
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On Wed, Sep 16, 2009 at 2:53 PM, Yegor Yefremov
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25473780&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;yegor_sub1@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Hi Lorenzo,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; where it possible to automatically create a man page from ggo file?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; It would be a great feature.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Thank you in advance.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gengetopt mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25473780&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gengetopt@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gengetopt&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Gengetopt---Help-f1623.html&quot; embed=&quot;fixTarget[1623]&quot; target=&quot;_top&quot; &gt;Gnu - Gengetopt - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/convert-ggo-file-to-man-page-tp25472278p25473780.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25473617</id>
	<title>Re: convert ggo file to man page</title>
	<published>2009-09-16T07:26:49Z</published>
	<updated>2009-09-16T07:26:49Z</updated>
	<author>
		<name>Lorenzo Bettini</name>
	</author>
	<content type="html">actually gengetopt itself creates its man page using help2man: once you 
&lt;br&gt;have your program (that uses the gengetopt generated parser), you can 
&lt;br&gt;build the manpage with help2man, e.g.,
&lt;br&gt;&lt;br&gt;help2man yourprogram
&lt;br&gt;&lt;br&gt;for gengetopt I do
&lt;br&gt;&lt;br&gt;help2man ./gengetopt --help-option=&amp;quot;--detailed-help&amp;quot; &amp;gt; gengetopt.1
&lt;br&gt;&lt;br&gt;cheers
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Lorenzo
&lt;br&gt;&lt;br&gt;Salvatore Santagati wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Well, I believe is a good idea also if possible create a man page with help2man
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Salvatore
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Wed, Sep 16, 2009 at 2:53 PM, Yegor Yefremov
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25473617&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;yegor_sub1@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; Hi Lorenzo,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; where it possible to automatically create a man page from ggo file? It would be a great feature.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thank you in advance.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
&lt;br&gt;ICQ# lbetto, 16080134 &amp;nbsp; &amp;nbsp; (GNU/Linux User # 158233)
&lt;br&gt;HOME: &lt;a href=&quot;http://www.lorenzobettini.it&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.lorenzobettini.it&lt;/a&gt;&amp;nbsp;MUSIC: &lt;a href=&quot;http://www.purplesucker.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.purplesucker.com&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.myspace.com/supertrouperabba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.myspace.com/supertrouperabba&lt;/a&gt;&lt;br&gt;BLOGS: &lt;a href=&quot;http://tronprog.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tronprog.blogspot.com&lt;/a&gt;&amp;nbsp; &lt;a href=&quot;http://longlivemusic.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://longlivemusic.blogspot.com&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/src-highlite&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/src-highlite&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/gengetopt&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/gengen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/gengen&lt;/a&gt;&amp;nbsp;&lt;a href=&quot;http://doublecpp.sourceforge.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://doublecpp.sourceforge.net&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gengetopt mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25473617&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gengetopt@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gengetopt&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Gengetopt---Help-f1623.html&quot; embed=&quot;fixTarget[1623]&quot; target=&quot;_top&quot; &gt;Gnu - Gengetopt - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/convert-ggo-file-to-man-page-tp25472278p25473617.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25472813</id>
	<title>Re: convert ggo file to man page</title>
	<published>2009-09-16T06:42:15Z</published>
	<updated>2009-09-16T06:42:15Z</updated>
	<author>
		<name>Salvatore Santagati</name>
	</author>
	<content type="html">Well, I believe is a good idea also if possible create a man page with help2man
&lt;br&gt;&lt;br&gt;Salvatore
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Wed, Sep 16, 2009 at 2:53 PM, Yegor Yefremov
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25472813&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;yegor_sub1@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi Lorenzo,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; where it possible to automatically create a man page from ggo file? It would be a great feature.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thank you in advance.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Best regards,
&lt;br&gt;&amp;gt; Yegor
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Help-gengetopt mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25472813&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gengetopt@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gengetopt&lt;/a&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gengetopt mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25472813&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gengetopt@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gengetopt&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Gengetopt---Help-f1623.html&quot; embed=&quot;fixTarget[1623]&quot; target=&quot;_top&quot; &gt;Gnu - Gengetopt - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/convert-ggo-file-to-man-page-tp25472278p25472813.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25472278</id>
	<title>convert ggo file to man page</title>
	<published>2009-09-16T05:53:16Z</published>
	<updated>2009-09-16T05:53:16Z</updated>
	<author>
		<name>Yegor Yefremov</name>
	</author>
	<content type="html">Hi Lorenzo,
&lt;br&gt;&lt;br&gt;where it possible to automatically create a man page from ggo file? It would be a great feature.
&lt;br&gt;&lt;br&gt;Thank you in advance.
&lt;br&gt;&lt;br&gt;Best regards,
&lt;br&gt;Yegor
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gengetopt mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25472278&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gengetopt@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gengetopt&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Gengetopt---Help-f1623.html&quot; embed=&quot;fixTarget[1623]&quot; target=&quot;_top&quot; &gt;Gnu - Gengetopt - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/convert-ggo-file-to-man-page-tp25472278p25472278.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25443500</id>
	<title>gengetopt with native Win32 CL.EXE</title>
	<published>2009-09-14T13:53:04Z</published>
	<updated>2009-09-14T13:53:04Z</updated>
	<author>
		<name>Andreas Baumann-3</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;&lt;br&gt;I tried to produce the C and header files from a GGO file for native
&lt;br&gt;Windows compilation with CL.EXE. Using any of the Cygwin or MinGW ports
&lt;br&gt;of 'gengen` and 'gengetopt` as built-chain works.
&lt;br&gt;&lt;br&gt;As I see it, there is a small problem in the generated C code with the
&lt;br&gt;FIX_UNUSED macro which is sometimes called before or in the middle of a
&lt;br&gt;variable declaration in generated functions.
&lt;br&gt;&lt;br&gt;After patching with gengetopt-2.22.2-fix-unused.patch, compilation is no problem.
&lt;br&gt;&lt;br&gt;Greetings
&lt;br&gt;&lt;br&gt;Andreas
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Andreas Baumann
&lt;br&gt;Trottenstrasse 20
&lt;br&gt;CH-8037 Zuerich
&lt;br&gt;Telefon: +41(0)76/373 01 29
&lt;br&gt;E-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25443500&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;abaumann@...&lt;/a&gt;
&lt;br&gt;Homepage: www.andreasbaumann.cc
&lt;br&gt;&lt;br /&gt;diff -rauN gengetopt-2.22.2/src/skels/c_source.h_skel gengetopt-2.22.2-fix-unused-patch/src/skels/c_source.h_skel
&lt;br&gt;--- gengetopt-2.22.2/src/skels/c_source.h_skel	2009-06-01 17:03:01.000000000 +0200
&lt;br&gt;+++ gengetopt-2.22.2-fix-unused-patch/src/skels/c_source.h_skel	2009-09-13 11:28:37.000000000 +0200
&lt;br&gt;@@ -706,8 +706,8 @@
&lt;br&gt;&amp;nbsp;int
&lt;br&gt;&amp;nbsp;@parser_name@_required2 (struct @args_info@ *args_info, const char *prog_name, const char *additional_error)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;- &amp;nbsp;FIX_UNUSED (additional_error);
&lt;br&gt;&amp;nbsp; &amp;nbsp;int error = 0;
&lt;br&gt;+ &amp;nbsp;FIX_UNUSED (additional_error);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp;/* checks for required options */
&lt;br&gt;&amp;nbsp; &amp;nbsp;@handle_required:method@
&lt;br&gt;@@ -754,13 +754,13 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; const char *long_opt, char short_opt,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; const char *additional_error)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;- &amp;nbsp;FIX_UNUSED (field);
&lt;br&gt;&amp;nbsp; &amp;nbsp;char *stop_char = 0;
&lt;br&gt;&amp;nbsp; &amp;nbsp;const char *val = value;
&lt;br&gt;&amp;nbsp; &amp;nbsp;int found;
&lt;br&gt;&amp;nbsp;@IF@ has_arg_string @THEN@
&lt;br&gt;&amp;nbsp; &amp;nbsp;char **string_field;
&lt;br&gt;&amp;nbsp;@ENDIF@
&lt;br&gt;+ &amp;nbsp;FIX_UNUSED (field);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp;stop_char = 0;
&lt;br&gt;&amp;nbsp; &amp;nbsp;found = 0;
&lt;br&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Help-gengetopt mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25443500&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gengetopt@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gengetopt&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Gengetopt---Help-f1623.html&quot; embed=&quot;fixTarget[1623]&quot; target=&quot;_top&quot; &gt;Gnu - Gengetopt - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/gengetopt-with-native-Win32-CL.EXE-tp25443500p25443500.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25401847</id>
	<title>[feature-request] different output folders for *.h and *.c and dummy conf file</title>
	<published>2009-09-11T07:05:26Z</published>
	<updated>2009-09-11T07:05:26Z</updated>
	<author>
		<name>Yegor Yefremov</name>
	</author>
	<content type="html">Hi Lorenzo,
&lt;br&gt;&lt;br&gt;my first feature were different output directories for cmdline.h and cmdline.c files. The only setting for now is --output-dir. If I have a directory structure where include files are in include and source files are in src and I want to dynamically create cmdline.* files I must manually copy them to appropriate directories. Where is possible to define --output-header-dir and --output-src-dir? If neither is defined just use --output-dir of default location.
&lt;br&gt;&lt;br&gt;the second feature were to create a dummy config file based on the *.ggo one, so that it contains all possible configuration options with their default values and descriptions, but commented out. One can use such a file as example. And it is the very simple to update this conf file if *.ggo one will be changed. For example: gengetopt --make-dummy -i *.ggo
&lt;br&gt;&lt;br&gt;Thank you in advance.
&lt;br&gt;&lt;br&gt;Best regards,
&lt;br&gt;Yegor
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gengetopt mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25401847&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gengetopt@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gengetopt&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Gengetopt---Help-f1623.html&quot; embed=&quot;fixTarget[1623]&quot; target=&quot;_top&quot; &gt;Gnu - Gengetopt - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-feature-request--different-output-folders-for-*.h-and-*.c-and-dummy-conf-file-tp25401847p25401847.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24931758</id>
	<title>Re: accept option arguments (even in enum)</title>
	<published>2009-08-12T01:01:58Z</published>
	<updated>2009-08-12T01:01:58Z</updated>
	<author>
		<name>Lorenzo Bettini</name>
	</author>
	<content type="html">hi
&lt;br&gt;&lt;br&gt;I've uploaded a candidate release here
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://rap.dsi.unifi.it/~bettini/gengetopt-2.22.3.tar.gz&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rap.dsi.unifi.it/~bettini/gengetopt-2.22.3.tar.gz&lt;/a&gt;&lt;br&gt;&lt;br&gt;which provides this feature (you may want to take a look at test_values* 
&lt;br&gt;files).
&lt;br&gt;&lt;br&gt;look forward to getting some feedback and then I'll release it :-)
&lt;br&gt;&lt;br&gt;cheers
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Lorenzo
&lt;br&gt;&lt;br&gt;Papp Gyozo (VBuster) wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; What do you think? gengetopt should enable symbols in enums or should we
&lt;br&gt;&amp;gt;&amp;gt; rephrase our idea? Please note that this option is multiple enum, so the
&lt;br&gt;&amp;gt;&amp;gt; real strength of this approach that custom mixed filter definitions can be
&lt;br&gt;&amp;gt;&amp;gt; described this way:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; --filter=+other,-missing
&lt;br&gt;&amp;gt;&amp;gt; well I think this would be feasible without any problem!
&lt;br&gt;&amp;gt;&amp;gt; My only concern is the literals used for the actual C enum values: + and 
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; - are not valid characters, so these characters should be translated 
&lt;br&gt;&amp;gt;&amp;gt; in the C enum...
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; something like
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; enum { filter_MINUS_UNSPECIFIED, filter_PLUS_OK, ... }
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; what do you think? &amp;nbsp;Or do you have any other suggestion?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; It would be ok. My first thought was to simply ignore special characters and replace them with an underscore (_) however it would raise the risk of ambiguity. MINUS , PLUS (and the others like QUOTE, EXCLAMATION?) would be ok.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Help-gengetopt mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24931758&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gengetopt@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gengetopt&lt;/a&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
&lt;br&gt;ICQ# lbetto, 16080134 &amp;nbsp; &amp;nbsp; (GNU/Linux User # 158233)
&lt;br&gt;HOME: &lt;a href=&quot;http://www.lorenzobettini.it&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.lorenzobettini.it&lt;/a&gt;&amp;nbsp;MUSIC: &lt;a href=&quot;http://www.purplesucker.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.purplesucker.com&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.myspace.com/supertrouperabba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.myspace.com/supertrouperabba&lt;/a&gt;&lt;br&gt;BLOGS: &lt;a href=&quot;http://tronprog.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tronprog.blogspot.com&lt;/a&gt;&amp;nbsp; &lt;a href=&quot;http://longlivemusic.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://longlivemusic.blogspot.com&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/src-highlite&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/src-highlite&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/gengetopt&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/gengen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/gengen&lt;/a&gt;&amp;nbsp;&lt;a href=&quot;http://doublecpp.sourceforge.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://doublecpp.sourceforge.net&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gengetopt mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24931758&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gengetopt@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gengetopt&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Gengetopt---Help-f1623.html&quot; embed=&quot;fixTarget[1623]&quot; target=&quot;_top&quot; &gt;Gnu - Gengetopt - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/accept-option-arguments-%28even-in-enum%29-tp24585174p24931758.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24754813</id>
	<title>Re: accept option arguments (even in enum)</title>
	<published>2009-07-31T04:04:47Z</published>
	<updated>2009-07-31T04:04:47Z</updated>
	<author>
		<name>Papp Gyozo (VBuster)</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; What do you think? gengetopt should enable symbols in enums or should we
&lt;br&gt;&amp;gt; rephrase our idea? Please note that this option is multiple enum, so the
&lt;br&gt;&amp;gt; real strength of this approach that custom mixed filter definitions can be
&lt;br&gt;&amp;gt; described this way:
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; --filter=+other,-missing
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; well I think this would be feasible without any problem!
&lt;br&gt;&amp;gt; My only concern is the literals used for the actual C enum values: + and 
&lt;br&gt;&amp;gt; &amp;nbsp; - are not valid characters, so these characters should be translated 
&lt;br&gt;&amp;gt; in the C enum...
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; something like
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; enum { filter_MINUS_UNSPECIFIED, filter_PLUS_OK, ... }
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; what do you think? &amp;nbsp;Or do you have any other suggestion?
&lt;/div&gt;&lt;br&gt;It would be ok. My first thought was to simply ignore special characters and replace them with an underscore (_) however it would raise the risk of ambiguity. MINUS , PLUS (and the others like QUOTE, EXCLAMATION?) would be ok.
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gengetopt mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24754813&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gengetopt@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gengetopt&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Gengetopt---Help-f1623.html&quot; embed=&quot;fixTarget[1623]&quot; target=&quot;_top&quot; &gt;Gnu - Gengetopt - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/accept-option-arguments-%28even-in-enum%29-tp24585174p24754813.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24752501</id>
	<title>Re: accept option arguments (even in enum)</title>
	<published>2009-07-31T00:47:31Z</published>
	<updated>2009-07-31T00:47:31Z</updated>
	<author>
		<name>Lorenzo Bettini</name>
	</author>
	<content type="html">Papp Gyozo (VBuster) wrote:
&lt;br&gt;&amp;gt; Hi there,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; long time was passing by since my last mail. It actually means the current version suffices our needs quite very well. Actually it is a good piece of work! Congratulation.
&lt;br&gt;&lt;br&gt;thanks a lot!
&lt;br&gt;this kind of emails always makes me happy :-)
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Now we have run into a problem. gengetopt denies special characters (ie. symbols like '-' or '+') in enum option values and in default values as well suspectedly.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; We would like to have a filter option which filters out/in the specified type of records. We thought it was quite natural to do it in the following way:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; option &amp;nbsp;&amp;quot;filter&amp;quot; &amp;nbsp;f 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;quot;include or exclude the given type in case of leading '-' or '+', respectively.&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; multiple enum
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; values=&amp;quot;-unspecified&amp;quot;,&amp;quot;-ok&amp;quot;,&amp;quot;-incompatible&amp;quot;,&amp;quot;-missing&amp;quot;,&amp;quot;-other&amp;quot;,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;+unspecified&amp;quot;,&amp;quot;+ok&amp;quot;,&amp;quot;+incompatible&amp;quot;,&amp;quot;+missing&amp;quot;,&amp;quot;+other&amp;quot;,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;problematic&amp;quot;,&amp;quot;all&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; default=&amp;quot;problematic&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; optional
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; What do you think? gengetopt should enable symbols in enums or should we rephrase our idea? Please note that this option is multiple enum, so the real strength of this approach that custom mixed filter definitions can be described this way:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; --filter=+other,-missing
&lt;/div&gt;&lt;br&gt;well I think this would be feasible without any problem!
&lt;br&gt;My only concern is the literals used for the actual C enum values: + and 
&lt;br&gt;&amp;nbsp; - are not valid characters, so these characters should be translated 
&lt;br&gt;in the C enum...
&lt;br&gt;&lt;br&gt;something like
&lt;br&gt;&lt;br&gt;enum { filter_MINUS_UNSPECIFIED, filter_PLUS_OK, ... }
&lt;br&gt;&lt;br&gt;what do you think? &amp;nbsp;Or do you have any other suggestion?
&lt;br&gt;&lt;br&gt;cheers
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Lorenzo
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
&lt;br&gt;ICQ# lbetto, 16080134 &amp;nbsp; &amp;nbsp; (GNU/Linux User # 158233)
&lt;br&gt;HOME: &lt;a href=&quot;http://www.lorenzobettini.it&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.lorenzobettini.it&lt;/a&gt;&amp;nbsp;MUSIC: &lt;a href=&quot;http://www.purplesucker.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.purplesucker.com&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.myspace.com/supertrouperabba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.myspace.com/supertrouperabba&lt;/a&gt;&lt;br&gt;BLOGS: &lt;a href=&quot;http://tronprog.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tronprog.blogspot.com&lt;/a&gt;&amp;nbsp; &lt;a href=&quot;http://longlivemusic.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://longlivemusic.blogspot.com&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/src-highlite&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/src-highlite&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/gengetopt&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/gengen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/gengen&lt;/a&gt;&amp;nbsp;&lt;a href=&quot;http://doublecpp.sourceforge.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://doublecpp.sourceforge.net&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gengetopt mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24752501&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gengetopt@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gengetopt&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Gengetopt---Help-f1623.html&quot; embed=&quot;fixTarget[1623]&quot; target=&quot;_top&quot; &gt;Gnu - Gengetopt - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/accept-option-arguments-%28even-in-enum%29-tp24585174p24752501.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24585174</id>
	<title>accept option arguments (even in enum)</title>
	<published>2009-07-21T03:24:02Z</published>
	<updated>2009-07-21T03:24:02Z</updated>
	<author>
		<name>Papp Gyozo (VBuster)</name>
	</author>
	<content type="html">Hi there,
&lt;br&gt;&lt;br&gt;long time was passing by since my last mail. It actually means the current version suffices our needs quite very well. Actually it is a good piece of work! Congratulation.
&lt;br&gt;&lt;br&gt;Now we have run into a problem. gengetopt denies special characters (ie. symbols like '-' or '+') in enum option values and in default values as well suspectedly.
&lt;br&gt;&lt;br&gt;We would like to have a filter option which filters out/in the specified type of records. We thought it was quite natural to do it in the following way:
&lt;br&gt;&lt;br&gt;option &amp;nbsp;&amp;quot;filter&amp;quot; &amp;nbsp;f 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;quot;include or exclude the given type in case of leading '-' or '+', respectively.&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; multiple enum
&lt;br&gt;&amp;nbsp; &amp;nbsp; values=&amp;quot;-unspecified&amp;quot;,&amp;quot;-ok&amp;quot;,&amp;quot;-incompatible&amp;quot;,&amp;quot;-missing&amp;quot;,&amp;quot;-other&amp;quot;,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;+unspecified&amp;quot;,&amp;quot;+ok&amp;quot;,&amp;quot;+incompatible&amp;quot;,&amp;quot;+missing&amp;quot;,&amp;quot;+other&amp;quot;,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;problematic&amp;quot;,&amp;quot;all&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; default=&amp;quot;problematic&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; optional
&lt;br&gt;&lt;br&gt;What do you think? gengetopt should enable symbols in enums or should we rephrase our idea? Please note that this option is multiple enum, so the real strength of this approach that custom mixed filter definitions can be described this way:
&lt;br&gt;&lt;br&gt;--filter=+other,-missing
&lt;br&gt;&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Papp, Gyozo
&lt;br&gt;VirusBuster Kft
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gengetopt mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24585174&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gengetopt@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gengetopt&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Gengetopt---Help-f1623.html&quot; embed=&quot;fixTarget[1623]&quot; target=&quot;_top&quot; &gt;Gnu - Gengetopt - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/accept-option-arguments-%28even-in-enum%29-tp24585174p24585174.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24012568</id>
	<title>GNU Gengetopt 2.22.2</title>
	<published>2009-06-13T06:38:36Z</published>
	<updated>2009-06-13T06:38:36Z</updated>
	<author>
		<name>Lorenzo Bettini</name>
	</author>
	<content type="html">GNU Gengetopt 2.22.2 has been released. &amp;nbsp;It is available from
&lt;br&gt;ftp://ftp.gnu.org/gnu/gengetopt/ and mirrors of that site (see list of
&lt;br&gt;mirror sites at &lt;a href=&quot;http://www.gnu.org/order/ftp.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/order/ftp.html&lt;/a&gt;).
&lt;br&gt;&lt;br&gt;GNU Gengetopt generates a C function that uses getopt_long function
&lt;br&gt;to parse the command line options, validate them and fill a
&lt;br&gt;struct.
&lt;br&gt;&lt;br&gt;Version 2.22.2
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; * removed further compilation warnings for generated files
&lt;br&gt;&amp;nbsp; &amp;nbsp; * fixed a compilation problems for files generated with --include-getopt
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; with some versions of stdlib.h
&lt;br&gt;&amp;nbsp; &amp;nbsp; * removed dependency from flex library (that generated problems in
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; compilation in open solaris)
&lt;br&gt;&amp;nbsp; &amp;nbsp; * uses PACKAGE_NAME, if defined, for printing help and version
&lt;br&gt;&amp;nbsp; &amp;nbsp; * uses --docdir if specified for installing documentation
&lt;br&gt;&lt;br&gt;You can also find details about new features on my blog, in this area:
&lt;br&gt;&lt;a href=&quot;http://tronprog.blogspot.com/search/label/gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tronprog.blogspot.com/search/label/gengetopt&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;Visit the Gengetopt home page at
&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/gengetopt&lt;/a&gt;&lt;br&gt;&lt;br&gt;Anonymous CVS access is available. &amp;nbsp;Please visit
&lt;br&gt;&lt;a href=&quot;http://savannah.gnu.org/projects/gengetopt/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.gnu.org/projects/gengetopt/&lt;/a&gt;&lt;br&gt;where you can find detailed descriptions of how to access the CVS
&lt;br&gt;(read-only). &amp;nbsp;Release-candidate versions are available
&lt;br&gt;through CVS.
&lt;br&gt;&lt;br&gt;Bug reports should go to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24012568&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bug-gengetopt@...&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;The following mailing lists are available:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24012568&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;help-gengetopt@...&lt;/a&gt;, for generic discussions about the program
&lt;br&gt;and for asking for help about it (open mailing list),
&lt;br&gt;&lt;a href=&quot;http://mail.gnu.org/mailman/listinfo/help-gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnu.org/mailman/listinfo/help-gengetopt&lt;/a&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24012568&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;info-gengetopt@...&lt;/a&gt; , for receiving information about new
&lt;br&gt;releases and features (read-only mailing list),
&lt;br&gt;&lt;a href=&quot;http://mail.gnu.org/mailman/listinfo/info-gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnu.org/mailman/listinfo/info-gengetopt&lt;/a&gt;&lt;br&gt;&lt;br&gt;if you want to subscribe to a mailing list just go to the URL and follow
&lt;br&gt;the instructions or just send me an e-mail.
&lt;br&gt;&lt;br&gt;cheers
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Lorenzo
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
&lt;br&gt;ICQ# lbetto, 16080134 &amp;nbsp; &amp;nbsp; (GNU/Linux User # 158233)
&lt;br&gt;HOME: &lt;a href=&quot;http://www.lorenzobettini.it&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.lorenzobettini.it&lt;/a&gt;&amp;nbsp;MUSIC: &lt;a href=&quot;http://www.purplesucker.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.purplesucker.com&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.myspace.com/supertrouperabba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.myspace.com/supertrouperabba&lt;/a&gt;&lt;br&gt;BLOGS: &lt;a href=&quot;http://tronprog.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tronprog.blogspot.com&lt;/a&gt;&amp;nbsp; &lt;a href=&quot;http://longlivemusic.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://longlivemusic.blogspot.com&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/src-highlite&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/src-highlite&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/gengetopt&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/gengen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/gengen&lt;/a&gt;&amp;nbsp;&lt;a href=&quot;http://doublecpp.sourceforge.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://doublecpp.sourceforge.net&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Info-gengetopt mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24012568&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Info-gengetopt@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/info-gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/info-gengetopt&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Gengetopt---Announce-f1624.html&quot; embed=&quot;fixTarget[1624]&quot; target=&quot;_top&quot; &gt;Gnu - Gengetopt - Announce&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/GNU-Gengetopt-2.22.2-tp24012568p24012568.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23818521</id>
	<title>Re: [Question][CMDLINE_PARSER_PACKAGE]</title>
	<published>2009-06-01T10:12:54Z</published>
	<updated>2009-06-01T10:12:54Z</updated>
	<author>
		<name>Lorenzo Bettini</name>
	</author>
	<content type="html">Salvatore Santagati wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Ciao Lorenzo
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; well, that PACKAGE variable is used from within the command line parser to
&lt;br&gt;&amp;gt;&amp;gt; print errors, and thus it should be set to the actual command, and not to
&lt;br&gt;&amp;gt;&amp;gt; the package name. &amp;nbsp;However, I think you're right about PACKAGE_NAME being
&lt;br&gt;&amp;gt;&amp;gt; useful, for instance when printing the output of --help and --version, am I
&lt;br&gt;&amp;gt;&amp;gt; right?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Yes, you are right.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Then probably PACKAGE_NAME should be used to and probably default to PACKAGE
&lt;br&gt;&amp;gt;&amp;gt; if not specified, am I right?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Yes,
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.gnu.org/software/hello/manual/autoconf/Initializing-configure.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/hello/manual/autoconf/Initializing-configure.html&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Cheers
&lt;br&gt;&amp;gt; Salvatore
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; PS : sorry for double post
&lt;/div&gt;&lt;br&gt;Hi
&lt;br&gt;&lt;br&gt;you can find the candidate release, with this feature here:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://rap.dsi.unifi.it/~bettini/gengetopt-2.22.2.tar.gz&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rap.dsi.unifi.it/~bettini/gengetopt-2.22.2.tar.gz&lt;/a&gt;&lt;br&gt;&lt;br&gt;any feedback is more than welcome :-)
&lt;br&gt;&lt;br&gt;now the generated header looks like this
&lt;br&gt;&lt;br&gt;#ifndef CMDLINE_PARSER_PACKAGE
&lt;br&gt;/** @brief the program name (used for printing errors) */
&lt;br&gt;#define CMDLINE_PARSER_PACKAGE PACKAGE
&lt;br&gt;#endif
&lt;br&gt;&lt;br&gt;#ifndef CMDLINE_PARSER_PACKAGE_NAME
&lt;br&gt;/** @brief the complete program name (used for help and version) */
&lt;br&gt;#ifdef PACKAGE_NAME
&lt;br&gt;#define CMDLINE_PARSER_PACKAGE_NAME PACKAGE_NAME
&lt;br&gt;#else
&lt;br&gt;#define CMDLINE_PARSER_PACKAGE_NAME PACKAGE
&lt;br&gt;#endif
&lt;br&gt;#endif
&lt;br&gt;&lt;br&gt;and CMDLINE_PARSER_PACKAGE_NAME is used (if not empty) to print --help 
&lt;br&gt;and --version, while CMDLINE_PARSER_PACKAGE is used for printing errors.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
&lt;br&gt;ICQ# lbetto, 16080134 &amp;nbsp; &amp;nbsp; (GNU/Linux User # 158233)
&lt;br&gt;HOME: &lt;a href=&quot;http://www.lorenzobettini.it&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.lorenzobettini.it&lt;/a&gt;&amp;nbsp;MUSIC: &lt;a href=&quot;http://www.purplesucker.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.purplesucker.com&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.myspace.com/supertrouperabba&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.myspace.com/supertrouperabba&lt;/a&gt;&lt;br&gt;BLOGS: &lt;a href=&quot;http://tronprog.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tronprog.blogspot.com&lt;/a&gt;&amp;nbsp; &lt;a href=&quot;http://longlivemusic.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://longlivemusic.blogspot.com&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/src-highlite&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/src-highlite&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/gengetopt&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/gengen&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/gengen&lt;/a&gt;&amp;nbsp;&lt;a href=&quot;http://doublecpp.sourceforge.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://doublecpp.sourceforge.net&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gengetopt mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23818521&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gengetopt@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gengetopt&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Gengetopt---Help-f1623.html&quot; embed=&quot;fixTarget[1623]&quot; target=&quot;_top&quot; &gt;Gnu - Gengetopt - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Question--CMDLINE_PARSER_PACKAGE--tp23200806p23818521.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23782993</id>
	<title>Re: Problem with compiling gengetopt on OpenSolaris</title>
	<published>2009-05-29T09:19:58Z</published>
	<updated>2009-05-29T09:19:58Z</updated>
	<author>
		<name>Lukas Rovensky</name>
	</author>
	<content type="html">No problem + thanks for your help ... Cheers, Lukas
&lt;br&gt;&lt;br&gt;Lorenzo Bettini napsal(a):
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; sorry, I forgot to answer: I plan to release this patched version soon 
&lt;br&gt;&amp;gt; (it basically contains only bug fixes)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Lukas Rovensky wrote:
&lt;br&gt;&amp;gt;&amp;gt; Hi Lorenzo,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; thanks a lot for both your e-mails. &amp;nbsp;I just tried the fixed version 
&lt;br&gt;&amp;gt;&amp;gt; and it compiles on my OpenSolaris box without any problems (I tried 
&lt;br&gt;&amp;gt;&amp;gt; again both gcc and SunStudio cc). &amp;nbsp;When do you plan to have this fixed 
&lt;br&gt;&amp;gt;&amp;gt; version publicly available (gengetopt 2.22.2)?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;&amp;gt; Lukas
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Lorenzo Bettini wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Hi there
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I've uploaded a possibly fixed version here:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://rap.dsi.unifi.it/~bettini/gengetopt-2.22.1.tar.gz&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rap.dsi.unifi.it/~bettini/gengetopt-2.22.1.tar.gz&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; this does not depend on flex library anymore, so you shouldn't 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; experience this bug.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; please let me know
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; thanks in advance
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; Lorenzo
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Lukas Rovensky wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Hi there,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I tried to compile gengetopt 2.22 on OpenSolaris 2008.11 (both using 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; gcc/g++ and SunStudio cc/CC) and I got the following error during 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; linking:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; g++ -g -O2 -o gengetopt parser.o scanner.o argsdef.o cmdline.o 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; gengetopt.o gm.o yyerror.o gm_utils.o fileutils.o acceptedvalues.o 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; ggos.o &amp;nbsp;../gl/.libs/libgnu.a -lfl skels/.libs/libgen.a 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; /usr/sfw/lib/libstdc++.so -L/usr/sfw/lib -lgcc_s -lm &amp;nbsp; -Wl,-R 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; -Wl,/usr/sfw/lib -Wl,-R -Wl,/usr/sfw/lib
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; ld: warning: file /usr/sfw/lib/libstdc++.so: attempted multiple 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; inclusion of file
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Undefined &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;first referenced
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;symbol &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;in file
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; yylex &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /usr/lib/libfl.so
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; ld: fatal: Symbol referencing errors. No output written to gengetopt
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; collect2: ld returned 1 exit status
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; The problem is that C++ compiler creates &amp;quot;mangled&amp;quot; symbol name for 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; yylex:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; lukas@myspulin:~/Desktop/t/gengetopt-2.22.1$ elfdump src/scanner.o | 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; grep yylex
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; [99] &amp;nbsp;0x00000828 0x000000f7 &amp;nbsp;FUNC GLOB &amp;nbsp;D &amp;nbsp; &amp;nbsp;0 .text 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; _Z13yylex_destroyv
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;[111] &amp;nbsp;0x000009c8 0x00000eab &amp;nbsp;FUNC GLOB &amp;nbsp;D &amp;nbsp; &amp;nbsp;0 .text _Z5yylexv
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; lukas@myspulin:~/Desktop/t/gengetopt-2.22.1$ elfdump src/parser.o | 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; grep yylex
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; [81] &amp;nbsp;0x00000000 0x00000000 &amp;nbsp;NOTY GLOB &amp;nbsp;D &amp;nbsp; &amp;nbsp;0 UNDEF _Z5yylexv
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; R_386_PC32 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0xcf2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .rel.text &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; _Z5yylexv
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; While the libfl.so expects just &amp;quot;yylex&amp;quot;. &amp;nbsp;I solved this issue by 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; wrapping the lines declaring yylex function like:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; #ifdef __cplusplus
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; extern &amp;quot;C&amp;quot; {
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; #endif
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; extern int yylex(int);
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; #ifdef __cplusplus
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; #endif
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; in the files parser.cc and scanner.cc.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; However, when I compiled gengetopt on Ubuntu 8.10 then the code got 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; compiled and linked without any modifications.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Am I doing something wrong (missing some parameter for configure, 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; etc.)? &amp;nbsp;I will definitely appreciate any advise.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Another option -- would you be eventually willing to accept a simple 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; patch adding the &amp;quot;#ifdef __cplusplus ...&amp;quot; guards, so gengetopt can 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; get directly compiled on OpenSolaris?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Thanks for any help.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Kind regards,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Lukas
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Help-gengetopt mailing list
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23782993&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gengetopt@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gengetopt&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; Help-gengetopt mailing list
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23782993&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gengetopt@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gengetopt&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Help-gengetopt mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23782993&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Help-gengetopt@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/help-gengetopt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/help-gengetopt&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Gengetopt---Help-f1623.html&quot; embed=&quot;fixTarget[1623]&quot; target=&quot;_top&quot; &gt;Gnu - Gengetopt - Help&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-with-compiling-gengetopt-on-OpenSolaris-tp23387426p23782993.html" />
</entry>

</feed>
