> >  scan --init   --dir1=... --dir2=... ; create an own scanning process
> > 
> > or
> > 
> >  scan --attach --address=... ; attach to a daemon
> > 
> > I know I can specify "init" and "attach" as mutually exclusive group
> options but I don't know how to induce gengetopt to allow dir options
> only if --init is given and --address if --attach is given. 
> > 
> you can use the "dependon" specification of an option:

It seems I lag behind the rapid development of gengetopt, thanks.


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

Reply via email to