OK, here we go:
.ggo:
defgroup "grp"
groupoption "opt1" 1 "string 1" group="grp"
groupoption "opt2" 2 "string 2" group="grp"
main.c:
int
main (int argc, char **argv)
{
struct gengetopt_args_info *args_info
cmdline_parser2 (argc, argv, struct gengetopt_args_info
*args_info, int override, int initialize, int check_required);
return result;
}
On 5/28/05, Lorenzo Bettini <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > Hi,
> >
> > it may be worth noting in the docs that if getoptions2() called with
> > override set on then multiple group options will silently override each
> > other without emitting a message like "2 options of group ... were given.
> > At most one is required".
>
> Hi there
>
> nice to hear from you again :-)
>
> could you please make an example of this situation?
>
> thanks
> 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.lorenzobettini.it/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
>
--
Papp, Gyozo
_______________________________________________
Help-gengetopt mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gengetopt