Le 23 février 2012 16:52, David Prévot <taf...@debian.org> a écrit :
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> retitle 660953 po4a should cope with options after config_file
> thanks
>
> Hi Denis,
>
> Le 23/02/2012 11:28, D. Barbier a écrit :
>
>> Just checked against debian-edu-doc-1.4~20120222~6.0.4~rc2 package,
>> everything works fine
>>   $ cd debian-edu-doc-1.4~20120222~6.0.4~rc2/documentation/debian-edu-squeeze
>>   $ po4a --translate-only debian-edu-squeeze-manual.fr.xml po4a.cfg
>
> Ho! Silly me! I put the config file name before the option. Thanks a lot
> for spotting my misuse.
>
> I retitled the bug report, since it would be nice if po4a wouldn't mind
> the order of arguments, but feel free to close it if you disagree: it's
> cristal clear looking at the manpage or the output of « po4a --help »
> (that is not translated BTW) that options should be given first.

This is caused by l.566-567
  # remove the config file
  pop @ORIGINAL_ARGV;

I have to check why this pop has been added.

Denis



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to