Papp Gyozo (VBuster) wrote:
Hmm...
Actually usage string cannot be by passed anyhow. Is it intended?
If I don't specify custom usage in .ggo, gengetopt will do it instead of me.
If I could specify an empty string, then _print_help() would print several
empty lines:
if (strlen(cmdline_options_purpose) > 0)
printf("\n%s\n", cmdline_options_purpose);
printf("\n%s\n\n", cmdline_options_usage);
while (cmdline_options_help[i])
while purpose are really optional (see if).
you're right!
I should put the printing of the usage string under the scope of an if,
just like purpose. I'll include it in the next release.
thanks
Lorenzo
--
Lorenzo Bettini, PhD in Computer Science, DSI, Univ. di Firenze
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
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