From: Greg Kroah-Hartman Date: Mon, 12 Jan 2009 18:34:53 +0000 (-0800) Subject: document the order that config options are handled X-Git-Url: https://git.toastfreeware.priv.at/gregoa/bti.git/commitdiff_plain/ba2443406bef1596eefd344daedfd3ca23b7ea34?hp=6d1803ac80b71198c76acbf75260523be955d4a6 document the order that config options are handled --- 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