Переглянути джерело

Dpkg::Changelog: Fix parse_error() POD prototype

The documentation was missing the $file argument.
Guillem Jover 12 роки тому
батько
коміт
4b8be5b817
1 змінених файлів з 3 додано та 3 видалено
  1. 3 3
      scripts/Dpkg/Changelog.pm

+ 3 - 3
scripts/Dpkg/Changelog.pm

@@ -107,10 +107,10 @@ sub reset_parse_errors {
     $self->{parse_errors} = [];
 }
 
-=item $c->parse_error($line_nr, $error, [$line])
+=item $c->parse_error($file, $line_nr, $error, [$line])
 
-Record a new parse error at line $line_nr. The error message is specified
-with $error and a copy of the line can be recorded in $line.
+Record a new parse error in $file at line $line_nr. The error message is
+specified with $error and a copy of the line can be recorded in $line.
 
 =cut