bug-hello
[Top][All Lists]
Advanced

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

Re: [bug-hello] Does "Hello, world!" need a configuration file?


From: Karl Berry
Subject: Re: [bug-hello] Does "Hello, world!" need a configuration file?
Date: Sat, 9 Jul 2005 20:06:32 -0400

Hi Bruce,

    configury magic needed to actually make it work.  (details....;)

It would be very helpful if you could make a stab at defining that
configury magic :).  At least, it's not immediately obvious to me where
to start.

Also, I'd like to request a simpler change.  I don't see any purpose in
allowing the options like --version and --help to be set in the
configuration file.  All that really needs to be allowed is a single
setting in the config file, say "greeting", which overrides the "hello,
world" text.  Ok?

On the other hand, I guess that might actually make it worse, since part
of the point here is to reuse the longopts structure, right?  I don't
like duplicating that switch statement to handle all the options when
they are not really useful.  Hmm.  I'm not sure what is best.

I've added a --greeting (-g) option to allow it from the command line.

Thanks,
k




reply via email to

[Prev in Thread] Current Thread [Next in Thread]