Usually wyslij-po
operates silently. It issues a
diagnostics only if something serious has happened (an error, for
example). You may wish to change this behavior in order to trace the
progress of the submission.
The --verbose command line option instructs the program to increase its verbosity level. Each occurrence of this option in the command line raises the level by one, so to get the verbosity level 3 you would type:
$ wyslij-po -vvv …
The bigger the level, the more information will be produced on the output.
Here is an example of the output produced in level 1:
$ wyslij-po -v pl.po pl.po: cflow-1.2.pl.po Message headers: Content-transfer-encoding: base64 Content-Type: application/x-gzip; name="cflow-1.2.pl.po.gz" MIME-Version: 1.0 From: trans@gnu.org.ua To: robot@translationproject.org Subject: TP-Robot cflow-1.2.pl.po X-Mailer: wyslij-po 3.3
Here, the first line shows the input file name and the corresponding canonical PO name for it. The remaining lines show RFC 2822 message headers.
The verbosity level 2 shows additional information about the progress:
$ wyslij-po -vv pl.po Sourcing language table `./wyslij-po.lc' Restoring canonical file name for `pl.po' Verifying POT file version for `mailutils' Verifying creation vs. revision date pl.po: cflow-1.2.pl.po executing gzip -c pl.po... Message headers: Content-transfer-encoding: base64 Content-Type: application/x-gzip; name="cflow-1.2.pl.po.gz" MIME-Version: 1.0 From: trans@gnu.org.ua To: robot@translationproject.org Subject: TP-Robot cflow-1.2.pl.po X-Mailer: wyslij-po 3.3 Submitting pl.po
The levels 3 and 4 print lots of information concerning actual SMTP transaction. These are mainly useful for debugging.
It is often desirable to know what wyslij-po
would do,
without actually sending translations. The special command line option
--dry-run (-n) is designed for this purpose. When
this option is given, wyslij-po
will do all its usual
processing, except for actually sending the result. This option
automatically sets verbose level to 1 (of course you can push it
higher by supplying additional -v options along with
--dry-run):
$ wyslij-po --dry-run pl.po pl.po: cflow-1.2.pl.po Message headers: Content-transfer-encoding: base64 Content-Type: application/x-gzip; name="cflow-1.2.pl.po.gz" MIME-Version: 1.0 From: trans@gnu.org.ua To: robot@translationproject.org Subject: TP-Robot cflow-1.2.pl.po X-Mailer: wyslij-po 3.3 NOT submitting