[Po4a-commits] po4a/lib/Locale/Po4a Man.pm,1.81,1.82

Nicolas FRAN??OIS po4a-devel@lists.alioth.debian.org
Sun, 03 Apr 2005 14:42:56 +0000


Update of /cvsroot/po4a/po4a/lib/Locale/Po4a
In directory haydn:/tmp/cvs-serv18677/lib/Locale/Po4a

Modified Files:
	Man.pm 
Log Message:
po4a -v requires the verbose option.


Index: Man.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Man.pm,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -d -r1.81 -r1.82
--- Man.pm	3 Apr 2005 14:19:32 -0000	1.81
+++ Man.pm	3 Apr 2005 14:42:53 -0000	1.82
@@ -302,10 +302,11 @@
     $self->{options}{'with-non_breaking_spaces'}='';
     $self->{options}{'with-hyphen_to_minus'}='';
     $self->{options}{'debug'}='';
+    $self->{options}{'verbose'}='';
 
     foreach my $opt (keys %options) {
         if ($options{$opt}) {
-            die wrap_mod("po4a::tex",
+            die wrap_mod("po4a::man",
                          dgettext("po4a", "Unknown option: %s"), $opt)
                 unless exists $self->{options}{$opt};
             $self->{options}{$opt} = $options{$opt};