Re: Options parseing and append vs. overwrite

From: Daniel Stenberg <Daniel.Stenberg_at_sth.frontec.se_at_hypermail-project.org>
Date: Sat, 5 Dec 1998 14:04:31 +0100 (MET)
Message-ID: <Pine.SO4.4.05.9812051401410.26076-100000_at_metal.sth1.frontec.se>


On Fri, 4 Dec 1998, David Kilzer wrote:

> As I recall, the order of "options" parsing was messed up. You would
> think that command-line arguments would override everything, but they
> don't. I know I read this somewhere on the Hypermail web site, but I
> can't find it now. (It might have been the man page.)

The order used to be very confusing, yes.

> Hypermail can read options from:
>
> o Environment variables
> o Command-line switches
> o Configuration files
>
> I don't recall what order they are prioritized in, but I do remember the
> command-line switches don't override everything.

The 2b12 version IS SUPPOSED to do it in this order:

  1. Init all variables to compiled defaults.
  2. If there are environment variable defaults, use them.
  3. The config file.
  4. Command line switches. -- Daniel Stenberg - http://www.fts.frontec.se/~dast ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol
Received on Sat 05 Dec 1998 03:09:11 PM GMT

This archive was generated by hypermail 2.2.0 : Thu 22 Feb 2007 07:33:50 PM GMT GMT