Moved "Reading values" section, typo fixed.
This commit is contained in:
@@ -60,13 +60,6 @@ An example file in this format might look like this:
|
|||||||
.PP
|
.PP
|
||||||
Indentation is optional, you may use tabs or spaces.
|
Indentation is optional, you may use tabs or spaces.
|
||||||
|
|
||||||
.SH READING VALUES
|
|
||||||
Values are accessed using a dot-separated section list and a key.
|
|
||||||
With reference to the example above, accessing
|
|
||||||
.B section-one.subsection.othervalue
|
|
||||||
will return
|
|
||||||
.BR xxx .
|
|
||||||
|
|
||||||
.SH INCLUDING FILES
|
.SH INCLUDING FILES
|
||||||
Using the
|
Using the
|
||||||
.B include
|
.B include
|
||||||
@@ -87,7 +80,7 @@ Sections loaded from included files
|
|||||||
previously loaded sections; already existing values are
|
previously loaded sections; already existing values are
|
||||||
.IR replaced .
|
.IR replaced .
|
||||||
It is important to note that settings are added relative to the section the
|
It is important to note that settings are added relative to the section the
|
||||||
include statment is in.
|
include statement is in.
|
||||||
.PP
|
.PP
|
||||||
As an example, the following three files result in the same final
|
As an example, the following three files result in the same final
|
||||||
config as the one given above:
|
config as the one given above:
|
||||||
@@ -122,6 +115,13 @@ other.conf:
|
|||||||
}
|
}
|
||||||
.EE
|
.EE
|
||||||
|
|
||||||
|
.SH READING VALUES
|
||||||
|
Values are accessed using a dot-separated section list and a key.
|
||||||
|
With reference to the example above, accessing
|
||||||
|
.B section-one.subsection.othervalue
|
||||||
|
will return
|
||||||
|
.BR xxx .
|
||||||
|
|
||||||
.SH DEFINED KEYS
|
.SH DEFINED KEYS
|
||||||
The following keys are currently defined (using dot notation). The default
|
The following keys are currently defined (using dot notation). The default
|
||||||
value (if any) is listed in brackets after the key.
|
value (if any) is listed in brackets after the key.
|
||||||
|
|||||||
Reference in New Issue
Block a user