Papp Gyozo (VBuster) wrote:
> gengetopt:10: syntax error `
> gengetopt:10: `-q' does not print name of clean files.'
> gengetopt:10: ^
>
> The commandline was 'gengetopt -f getoptions -acmdline_options
-uTARGETS -CeN'
I tried your code and it works fine with me... could you please send me
the file that experiences this problem?
I cannot seem to reproduce the problem (even with dos newlines), could
you please send me the file?
It may be nothing to do with gengetopt but the way I create the ggo file.
Actually the original .ggo file is rather a template which is filled in with cpp preprocessor (replace defines with real string values for option defaults and such):
$(CC) -I $(THISDIR) $(CFLAGS) $(defines) -E -x c $(THISDIR)/$< \
| tee options.processed \
| $(GENGETOPT) -f getoptions -acmdline_options -uTARGETS -CeN
the original lines above look like from options.processed:
option "quiet" q
"control message verbosity on stdout."
`-q' does not print name of clean files.'
`-qq' suppresses all messages but alerts, and'
`-qqq' implies terse' as well.
It does not affect error reporting on stderr!""
no multiple
Each unterminated quote (both single and double) is terminated automagically,
that's why gengetopt fails.
So there's no problem in gengetopt, right?
cheers
Lorenzo
--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net
_______________________________________________
Help-gengetopt mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gengetopt