[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [or-cvs] integrated use of getoption() into OR. removed getargs() an...



On Fri, Jul 12, 2002 at 01:12:11PM -0400, montrose@seul.org wrote:
> Update of /home/or/cvsroot/src/or
> In directory moria.seul.org:/tmp/cvs-serv16741/src/or
> 
> Modified Files:
> 	main.c 
> Log Message:
> integrated use of getoption() into OR. removed getargs() and getconfig().

Bruce:

[arma@moria config]$ ../or/or --f moria3-orrc
Usage: or [-v?] [-a <port>] [-w <weight>] [-f <file>] [-l <level>] [-m <max>]
        [-o <port>] [-p <port>] [-k <max>] [-r <port>] [-t <policy>] [-g <role>]
        [--usage]
moria3-orrc: number too large or too small

When I change CoinWeight from 0.0 to 0.01, it works.

a) can you make CoinWeight accept 0?
b) can you make that error message indicate *which* number was too large or
   too small?

--Roger