Lorenzo Bettini wrote: >> I just hope that in such case (when no "required"/"optional" is defined), >> the defining option is considered optional by default, instead of mandatory. > > options have always been mandatory by default in gengetopt and changing > this would break previous code. > > What I could do is to add a command line argument that permits > specifying that options are optional by default, what do you think? >
I've uploaded a candidate release here: http://rap.dsi.unifi.it/~bettini/gengetopt-2.20.tar.gz that includes the option --default-optional that considers all options as optional (if not explicitly specified otherwise) please let me know whether this solves the problem thanks Lore -- 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
