Hi!

On Mon, 2015-01-19 at 02:11:00 +0100, Guillem Jover wrote:
> Package: po4a
> Version: 0.45-1
> Severity: minor
> Tags: patch

> I've been kept confused by the porefs option in the docs, as if it was
> a config file option only or similar. Checking the code, revealed that
> this was an actual command-line option just lacking the -- prefix, which
> was missing in the man page and the --help output. The attached patch
> fixes it.

It seems I missed other instances of this problem, attached a revised
patch.

Thanks,
Guillem
Index: lib/Locale/Po4a/Po.pm
===================================================================
--- lib/Locale/Po4a/Po.pm	(revision 2764)
+++ lib/Locale/Po4a/Po.pm	(working copy)
@@ -51,7 +51,7 @@
 
 =over 4
 
-=item B<porefs> I<type>[,B<wrap>|B<nowrap>]
+=item B<--porefs> I<type>[,B<wrap>|B<nowrap>]
 
 Specify the reference format. Argument I<type> can be one of B<none> to not
 produce any reference, B<noline> to not specify the line number (more
Index: po4a
===================================================================
--- po4a	(revision 2764)
+++ po4a	(working copy)
@@ -427,7 +427,7 @@
 
 =over 4
 
-=item B<porefs> I<type>[,B<wrap>|B<nowrap>]
+=item B<--porefs> I<type>[,B<wrap>|B<nowrap>]
 
 Specify the reference format. Argument I<type> can be one of B<none> to not
 produce any reference, B<noline> to not specify the line number (more
Index: po4a-updatepo
===================================================================
--- po4a-updatepo	(revision 2764)
+++ po4a-updatepo	(working copy)
@@ -103,7 +103,7 @@
 
 Output some debugging information.
 
-=item B<porefs> I<type>[,B<wrap>|B<nowrap>]
+=item B<--porefs> I<type>[,B<wrap>|B<nowrap>]
 
 Specify the reference format. Argument I<type> can be one of B<none> to not
 produce any reference, B<noline> to not specify the line number (more

Reply via email to