From ba2443406bef1596eefd344daedfd3ca23b7ea34 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Mon, 12 Jan 2009 10:34:53 -0800 Subject: [PATCH] document the order that config options are handled --- bti.1 | 16 ++++++++++++++++ bti.xml | 21 +++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/bti.1 b/bti.1 index e8413d6..3fe86d9 100644 --- a/bti.1 +++ b/bti.1 @@ -266,6 +266,22 @@ The http proxy needed to send data out to the Internet\&. There is an example config file called \FCbti\&.example\F[] in the source tree that shows the structure of the file if you need an example to work off of\&. +.PP +Configuration options have the following priority: +.PP +.RS 4 +command line option +.RE +.PP +.RS 4 +config file option +.RE +.PP +.RS 4 +environment variables +.RE +.PP +For example, command line options always override any config file option, or any environment variables\&. .SH "AUTHOR" .PP Written by Greg Kroah\-Hartman diff --git a/bti.xml b/bti.xml index 1be3b5b..96f424a 100644 --- a/bti.xml +++ b/bti.xml @@ -204,6 +204,27 @@ bti.example in the source tree that shows the structure of the file if you need an example to work off of. + + Configuration options have the following priority: + + + + + command line option + + + + config file option + + + + environment variables + + + + For example, command line options always override any config file + option, or any environment variables. + AUTHOR -- 2.39.5