ini
INI format output.
Print output in an INI based format.
The following conventions are adopted:
- all key and values are UTF-8
- '.' is the subgroup separator
- newline, '\t', '\f', '\b' and the following characters are escaped
- '\' is the escape character
- '#' is the comment indicator
- '=' is the key/value separator
- ':' is not used but usually parsed as key/value separator
This writer accepts options as a list of key=value pairs, separated by ':'.
The description of the accepted options follows.
- 'hierarchical, h'
-
Specify if the section name specification should be hierarchical. If set to 1, and if there is more than one section in the current chapter, the section name will be prefixed by the name of the chapter. A value of 0 will disable this behavior.
Default value is 1.