Index: ossp-pkg/rc/rc.pod RCS File: /v/ossp/cvs/ossp-pkg/rc/rc.pod,v rcsdiff -q -kk '-r1.38' '-r1.39' -u '/v/ossp/cvs/ossp-pkg/rc/rc.pod,v' 2>/dev/null --- rc.pod 2003/06/23 16:55:05 1.38 +++ rc.pod 2003/06/23 17:06:44 1.39 @@ -222,12 +222,20 @@ name of the error section, defaults to %error. -Every command line longoption corresponds to a keyword in the F file. -When prefixed with 'OSSP_RC_' and its name in upper case, an option can be set -as an environment variable. First, options from the F file are read. -Then, options from the environment are read. Last, options from the command -line are read. This allows for flexibility when wishing to set a standard set -of OSSP rc options, and override them conditionally. +=head1 OPTIONS ORDERING + +B reads its options from three sources and builds a global +configuration which it uses when later processing Fs and B
s. +The first source used is the F file (see SEE ALSO). Next, B +reads options from the environment (see ENVIRONMENT). Finally, it reads +options from the command line. Of course, this means that any option given on +the command line overrides that of the other two sources. This allows for +flexibility when wishing to set a standard set of OSSP rc options, and +override them conditionally. + +Some option values are mandatory, and if they do not exist in any of the three +sources then B supplies a default value. The global configuration +being used at any moment can be learned by using the --info switch. =head1 ENVIRONMENT @@ -336,6 +344,7 @@ FreeBSD, Solaris, and Linux distributions. rc-sample(5). +rc.conf(5). =head1 AUTHORS