On Fri, May 04, 2001 at 04:14:17PM +0200, Oskar Sandberg wrote: > On Fri, May 04, 2001 at 09:49:16AM -0400, Tavin Cole wrote: > > Ok, I have a very crude Freenet.scripts.Setup committed to experimental > > which pulls everything from the options registered with the > > Freenet.Defaults class by Freenet.Core and Freenet.node.Node. > > > > It's a little less user friendly now .. none of the involved questions, > > it just spits out the little comments and demands a value. > > Maybe we should add a comment string to the option classes. That way the > node could autogenerate full usage screens and alike as well...
I did add a comment string (actually in Defaults, not directly in Params.Option). This is what gets put in the generated config file, and also printed to the user. What I didn't bother with (yet) was the "question string" -- not sure whether that belongs in Defaults or directly in Freenet.scripts.Setup. Freenet.scripts.Setup will probably need to implement a few custom methods to override the default behaviors, it might as well keep track of its own questions too. -- # tavin cole # # "The process of scientific discovery is, in effect, # a continual flight from wonder." # - Albert Einstein _______________________________________________ Devl mailing list Devl at freenetproject.org http://lists.freenetproject.org/mailman/listinfo/devl >From - Sun May 6 15:05:42 2001 Return-Path: <devl-admin at freenetproject.org> Received: from hawk.freenetproject.org (postfix@[4.18.42.11]) by funky.danky.com (8.9.3/8.8.7) with ESMTP id JAA27508 for <danello at danky.com>; Fri, 4 May 2001 09:49:51 -0400 Received: from hawk.freenetproject.org (localhost [127.0.0.1]) by hawk.freenetproject.org (Postfix) with ESMTP id 7577458186; Fri, 4 May 2001 07:30:04 -0700 (PDT) Delivered-To: devl at freenetproject.org Received: from server5.generalmail.com (server5.fpw.ch [194.209.117.20]) by hawk.freenetproject.org (Postfix) with ESMTP id 0653558050
