[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [help-gengetopt] group opton with override
From: |
gerzson |
Subject: |
Re: [help-gengetopt] group opton with override |
Date: |
Sat, 28 May 2005 13:15:34 +0200 |
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 <address@hidden> wrote:
> address@hidden 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
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-gengetopt
>
--
Papp, Gyozo