From 75584db4815e1f3c1c34d2ec51e2ace8534e97bf Mon Sep 17 00:00:00 2001 From: Niko Tyni Date: Sun, 13 Feb 2005 18:03:08 +0000 Subject: Fix the spaces at the start of *** Probes *** and *** Targets *** lines: the POD file should have a space, the example files shouldn't. --- lib/Smokeping/Examples.pm | 8 ++++---- 1 file 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}; -- cgit v1.2.3-24-g4f1b