On Tue, 19 Jun 2001, Mr.Bad wrote:

> >>>>> "MJR" == Mark J Roberts <mjr at statesmean.com> writes:
> 
>     MJR> What is broken about it? Our old syntax was unforgivably
>     MJR> stupid.
> 
> Actually, our old syntax was Java-style. It wasn't inconsistent or
> non-standard.
> 
Well, I found it annoying to type in -serverAddress each request I made,
and figured I'd fix the problem for everyone while allowing for things
liks -shA tcp/localhost:19114 50.  I like the idea of being able to
combine the arguments.

>     MJR> So Thelema wrote his own parser and put it in the two
>     MJR> clients. But I think he's planning to switch to getopt,
>     MJR> because he added the its two files to
>     MJR> Freenet/support/. Thelema?

Yes, argument processing should be switched to getopt.
> 
> My take from the log comment is that he's planning for somebody else
> to do it.

I started messing with getopt, and it should do what's necessary, it'll
just take some working with it to make things go.  A few things keep me
from actually doing this:
1) Java incompetence.  There are times when OO is the way to go, and
times when OO gets in the way.
2) these clients should be obseleted when 0.4 rolls around.
3) I recall hearing that options in 0.4 will be magically delicious;
having an array of them for each program with description and defaults
and types, so that the usage screen can be generated dynamically, etc.
Maybe I'm wrong on this.

But for those reasons (and sheer laziness), I haven't re-written the
code.
> 
> ~Mr. Bad
> 
Thelema
-- 
E-mail: thelema314 at bigfoot.com        If you love something, set it free.
GPG 1536g/B9C5D1F7 fpr:075A A3F7 F70B 1397 345D  A67E 70AA 820B A806 F95D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20010619/a221064d/attachment.pgp>

Reply via email to