logstash: Fix sloppy description fields

This commit is contained in:
Shea Levy 2012-07-12 14:35:06 -04:00
parent a2b59f595f
commit 8544ba285d

View file

@ -86,12 +86,13 @@ in
inputConfig = mkOption { inputConfig = mkOption {
default = {}; default = {};
description = '' description = ''
A nixexpr representing a logstash configuration's input section. An attribute set (or an expression generated by mkNameValuePairs)
logstash configs are name-value pairs, where values can be bools, representing a logstash configuration's input section.
Logstash configs are name-value pairs, where values can be bools,
strings, numbers, arrays, hashes, or other name-value pairs, strings, numbers, arrays, hashes, or other name-value pairs,
and names are strings that can be repeated. name-value pairs with no and names are strings that can be repeated. Name-value pairs with no
repeats are represented by attr sets. bools, strings, ints, and repeats are represented by attr sets. Bools, strings, ints, and
arrays are mapped directly. name-value pairs with repeats can be arrays are mapped directly. Name-value pairs with repeats can be
generated by the config.lib.logstash.mkNameValuePairs function, which generated by the config.lib.logstash.mkNameValuePairs function, which
takes a list of attrsets and combines them while preserving attribute takes a list of attrsets and combines them while preserving attribute
name duplicates if they occur. Similarly, there are the mkFloat and name duplicates if they occur. Similarly, there are the mkFloat and
@ -104,7 +105,8 @@ in
filterConfig = mkOption { filterConfig = mkOption {
default = {}; default = {};
description = '' description = ''
An attr set representing a logstash configuration's filter section. An attribute set (or an expression generated by mkNameValuePairs)
representing a logstash configuration's filter section.
See inputConfig description for details. See inputConfig description for details.
''; '';
merge = mergeConfigs; merge = mergeConfigs;
@ -113,7 +115,8 @@ in
outputConfig = mkOption { outputConfig = mkOption {
default = {}; default = {};
description = '' description = ''
An attr set representing a logstash configuration's output section. An attribute set (or an expression generated by mkNameValuePairs)
representing a logstash configuration's output section.
See inputConfig description for details. See inputConfig description for details.
''; '';
merge = mergeConfigs; merge = mergeConfigs;