[PATCH] Fix formatting error in documentation
Signed-off-by: Ansgar Burchardt <ansgar@43-1.org>
---
The man page includes the following line
"$v" =item $v->as_string()
as there is no empty line before the "=item" statement. Just using a comma
instead of multiple "=item"s is done a few lines before as well.
Regards,
Ansgar
scripts/Dpkg/Version.pm | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/Dpkg/Version.pm b/scripts/Dpkg/Version.pm
index f7f2ff3..0c525a0 100644
--- a/scripts/Dpkg/Version.pm
+++ b/scripts/Dpkg/Version.pm
@@ -160,12 +160,12 @@ sub comparison {
return version_compare_part($a->revision(), $b->revision());
}
-=item "$v"
-=item $v->as_string()
+=item "$v", $v->as_string()
Returns the string representation of the version number.
=cut
+
sub as_string {
my ($self) = @_;
my $str = "";
--
1.7.0
Reply to: