Hi there
I've updated the CVS version with further enhancements:
* initializing of the structure for parser function parameters
was changed in order to initialize the fields to their default values
(instead of 0)
* list of acceptable values for options can be have a type different
from
string
* usage string is printed only if not empty (as suggested by Gyozo Papp)
* in case of hidden options, the generated help string array reuses the
strings of the full help array (as suggested by Gyozo Papp)
* the _help field for options is correctly generated even in the
presence
of additional text before and after an option and also groups
in particular, I discovered the last bug when optimizing the help array
option generation :-)
as you can see, a type can be specified for values; fortunately, the
code generation refactoring made pretty easy to add types to values...
I'm afraid, Gyozo, that the same does not hold for enum values, which
require some more work (which I'll take care of as a next step :-)
feedback will always be very welcome :-)
cheers
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
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