From: Colin A. <col...@ho...> - 2007-10-01 06:33:36
|
> > Is it committed yet? I will try it out when it is. >=20 > I has been committed and already been reviewed by Eric (thanks, do you =20 > never sleep? ;-) ) The trick is not in avoiding sleep. It is doing development when you are as= leep. > >> PPS: I still have the request open to have `mutually exclusive options= ', > >> but I have not found a good solution yet. > > > > Can't you just have references to other options which are to be regarde= d =20 > > as mutually exclusive? >=20 > The problem is not the check itself, but >=20 > - where to configure it (parser or option) The option, I would say: {AP_OPTION}.set_mutually_exclusive (l_other_option) repeat as many times as necessary. > - how to generate a nice help text format illustrating it I don't see any problems here. Just add: (mutually exclusive with --some-other-option, --a-second-option and --yet-= another-option) _________________________________________________________________ The next generation of MSN Hotmail has arrived - Windows Live Hotmail http://www.newhotmail.co.uk= |