summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiko Tyni <ntyni@iki.fi>2005-02-13 19:03:08 +0100
committerNiko Tyni <ntyni@iki.fi>2005-02-13 19:03:08 +0100
commit75584db4815e1f3c1c34d2ec51e2ace8534e97bf (patch)
treeb8fc3b441010e8695778986728198508a954d261
parent8a268f47f7987eb3110eee1c114e4dbf2e708c1b (diff)
downloadsmokeping-75584db4815e1f3c1c34d2ec51e2ace8534e97bf.tar.gz
smokeping-75584db4815e1f3c1c34d2ec51e2ace8534e97bf.tar.xz
Fix the spaces at the start of *** Probes *** and *** Targets ***
lines: the POD file should have a space, the example files shouldn't.
-rw-r--r--lib/Smokeping/Examples.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Smokeping/Examples.pm b/lib/Smokeping/Examples.pm
index e61eed2..3d30026 100644
--- a/lib/Smokeping/Examples.pm
+++ b/lib/Smokeping/Examples.pm
@@ -194,12 +194,12 @@ sub genpod {
my $text = "";
$text .= "=over\n\n";
$text .= "=item Probe configuration\n\n";
- $text .= "*** Probes ***\n";
+ $text .= " *** Probes ***\n";
$text .= join("\n", map { " $_" } split(/\n/, $h->{probes}));
$text .= "\n\n=item Probe explanation\n\n";
$text .= $h->{probedoc} || "No probedoc found !";
$text .= "\n\n=item Target configuration\n\n";
- $text .= "*** Targets ***\n";
+ $text .= " *** Targets ***\n";
$text .= join("\n", map { " $_" } split(/\n/, $h->{targets}));
$text .= "\n\n=item Target explanation\n\n";
$text .= $h->{targetdoc} || "No targetdoc found !";
@@ -223,11 +223,11 @@ sub writecfg {
DOC
print F $template->{common};
print F "# (The actual example starts here.)\n";
- print F "\n *** Probes ***\n\n";
+ print F "\n*** Probes ***\n\n";
print F join("\n", map { "# $_" } split(/\n/, $h->{probedoc} || 'No probedoc found!'));
print F "\n\n";
print F $h->{probes};
- print F "\n *** Targets ***\n\n";
+ print F "\n*** Targets ***\n\n";
print F join("\n", map { "# $_" } split(/\n/, $h->{targetdoc} || 'No targetdoc found'));
print F "\n\n";
print F $h->{targets};