summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGES2
-rw-r--r--lib/Smokeping.pm7
2 files changed, 7 insertions, 2 deletions
diff --git a/CHANGES b/CHANGES
index e53e47a..2c2d490 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,5 @@
+* fix 'loss_background' documentation. Reported by David Tomic. --niko
+
* fix local variable override handling in connection with nomasterpoll
--niko
diff --git a/lib/Smokeping.pm b/lib/Smokeping.pm
index 1e90636..9ca6ccf 100644
--- a/lib/Smokeping.pm
+++ b/lib/Smokeping.pm
@@ -2954,10 +2954,13 @@ DOC
_re_error => "color must be defined with in rrggbb syntax",
_doc => "Paint the graph background in a special color when there is no data for this period because smokeping has not been running (#rrggbb)",
},
- loss_background => { _doc => 'should the graphs be shown with a background showing loss data for emphasis (yes/no)',
+ loss_background => { _doc => <<EOF,
+Should the graphs be shown with a background showing loss data for emphasis (yes/no)?
+
+If this option is enabled, uptime data is no longer displayed in the graph background.
+EOF
_re => '(yes|no)',
_re_error =>"this must either be 'yes' or 'no'",
- _doc => "If this option is enabled, uptime data is no longer displayed in the graph background.",
},
logarithmic => { _doc => 'should the graphs be shown in a logarithmic scale (yes/no)',
_re => '(yes|no)',