BuildSmart wrote:
I wish to first thank the authors of gengetopt for such a lovely peice of work as it has saved me countless hours of programming.

very glad to hear that! :-D

I'm trying to set the default values for an int array and to establish that it requires 3 args.

so you need a multiple option but with a fixed number of values, am I right?

And the possibility of specifying the default value for each of these elements.

If so, there's no support for that now, but I can work on that.

The issue now is ensuring that 3 values are passed from the command line or config file and if the value is < or > 3 complain about it.

Lorenzo

--
+-----------------------------------------------------+
|  Lorenzo Bettini          ICQ# lbetto, 16080134     |
|  PhD in Computer Science                            |
|  Dip. Sistemi e Informatica, Univ. di Firenze       |
|  Florence - Italy        (GNU/Linux User # 158233)  |
|  Home Page        : http://www.lorenzobettini.it    |
|  http://music.dsi.unifi.it         XKlaim language  |
|  http://www.purplesucker.com Deep Purple Cover Band |
|  http://www.gnu.org/software/src-highlite           |
|  http://www.gnu.org/software/gengetopt              |
|  http://www.lorenzobettini.it/software/gengen       |
|  http://www.lorenzobettini.it/software/doublecpp    |
+-----------------------------------------------------+



_______________________________________________
Help-gengetopt mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gengetopt

Reply via email to