OSSP CVS Repository

ossp - Check-in [3454]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 3454
Date: 2003-Jun-23 19:06:44 (local)
2003-Jun-23 17:06:44 (UTC)
User:ms
Branch:
Comment: Last text edit of options and their ordering.
Tickets:
Inspections:
Files:
ossp-pkg/rc/rc.pod      1.38 -> 1.39     15 inserted, 6 deleted

ossp-pkg/rc/rc.pod 1.38 -> 1.39

--- 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<rc.conf> 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<rc.conf> 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<OSSP rc> reads its options from three sources and builds a global
+configuration which it uses when later processing F<rcfile>s and B<section>s.
+The first source used is the F<rc.conf> file (see SEE ALSO). Next, B<OSSP rc>
+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<OSSP rc> 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
 

CVSTrac 2.0.1