Named settings, as written in a config file or given on the command line, applied to the options.
| Setting | Values |
|---|---|
indent, base-indent, continuation-indent |
0 to 64 |
indent-units, indent-procedures, indent-fypp, indent-comments, split, sort-use, sort-use-only |
true, false |
continuation |
align, indent |
column1-comments |
indent (like the code around them), keep (stay in column 1) |
line-length |
0 (no limit) to 100000 |
relational |
symbols, letters, keep |
comment-spacing |
0 to 64, or keep |
spaces.RULE (or spaces.all) |
add, remove, keep |
case.WHAT: keywords, operators, procedures, constants, types or all |
lower, upper, keep |
A named setting with its value as text.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| character(len=:), | public, | allocatable | :: | key |
the name, e.g. |
||
| character(len=:), | public, | allocatable | :: | value |
the value, e.g. |
Apply one setting to opts. stat is nonzero, with a message, for an unknown setting or a bad value.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(format_options_t), | intent(inout) | :: | opts |
the options to change |
||
| character(len=*), | intent(in) | :: | key |
setting name, as in the table above |
||
| character(len=*), | intent(in) | :: | value |
its value as text |
||
| integer, | intent(out) | :: | stat |
0, or 1 for an unknown setting or a bad value |
||
| character(len=:), | intent(out), | allocatable | :: | errmsg |
what is wrong, if |