Minor consistency fixes.

This commit is contained in:
Andrew Wood
2023-09-02 01:33:11 +01:00
parent 14ce832249
commit 2b341c1a7f
7 changed files with 31 additions and 29 deletions
+3 -3
View File
@@ -702,9 +702,9 @@ If you find any other problems, please report them.
.SH REPORTING BUGS .SH REPORTING BUGS
Report bugs in Please report any bugs to: <https://codeberg.org/a-j-wood/pv/issues>
.B pv
to pv@ivarch.com or use the contact form linked from the Alternatively, use the contact form linked from the
.B pv .B pv
home page: <http://www.ivarch.com/programs/pv.shtml> home page: <http://www.ivarch.com/programs/pv.shtml>
+19 -17
View File
@@ -127,12 +127,12 @@ that are explicitly switched on will be shown.
percentage of the transfer buffer in use - but see the caveat under percentage of the transfer buffer in use - but see the caveat under
**%T** in the **FORMATTING** section below. Implies **-C**. **%T** in the **FORMATTING** section below. Implies **-C**.
**-A ***NUM***, **\--last-written *****NUM* **-A NUM, \--last-written NUM**
: Show the last *NUM* bytes written - but see the caveat under **%nA** : Show the last *NUM* bytes written - but see the caveat under **%nA**
in the **FORMATTING** section below. Implies **-C**. in the **FORMATTING** section below. Implies **-C**.
**-F ***FORMAT***, **\--format *****FORMAT* **-F FORMAT, \--format FORMAT**
: Ignore the options **-p**, **-t**, **-e**, **-r**, **-a**, **-b**, : Ignore the options **-p**, **-t**, **-e**, **-r**, **-a**, **-b**,
**-T**, and **-A**, and instead use the format string *FORMAT* to **-T**, and **-A**, and instead use the format string *FORMAT* to
@@ -170,14 +170,14 @@ that are explicitly switched on will be shown.
starts, eg piping data into **gpg**(1) or **mcrypt**(1) which starts, eg piping data into **gpg**(1) or **mcrypt**(1) which
require a passphrase before data can be processed. require a passphrase before data can be processed.
**-D ***SEC***, **\--delay-start *****SEC* **-D SEC, \--delay-start SEC**
: Wait until *SEC* seconds have passed before showing any progress : Wait until *SEC* seconds have passed before showing any progress
information, for example in a script where you only want to show a information, for example in a script where you only want to show a
progress bar if it starts taking a long time. Note that this can be progress bar if it starts taking a long time. Note that this can be
a decimal such as 0.5. a decimal such as 0.5.
**-s ***SIZE***, **\--size *****SIZE* **-s SIZE, \--size SIZE**
: Assume the total amount of data to be transferred is *SIZE* bytes : Assume the total amount of data to be transferred is *SIZE* bytes
when calculating percentages and ETAs. The same suffixes of \"k\", when calculating percentages and ETAs. The same suffixes of \"k\",
@@ -206,31 +206,31 @@ are unreadable, the total size will not be calculated.
: Count lines as terminated with a zero byte instead of with a : Count lines as terminated with a zero byte instead of with a
newline. This option implies \--line-mode. newline. This option implies \--line-mode.
**-i ***SEC***, **\--interval *****SEC* **-i SEC, --interval SEC**
: Wait *SEC* seconds between updates. The default is to update every : Wait *SEC* seconds between updates. The default is to update every
second. Note that this can be a decimal such as 0.1. second. Note that this can be a decimal such as 0.1.
**-m ***SEC***, **\--average-rate-window *****SEC* **-m SEC, \--average-rate-window SEC**
: Compute current average rate over a *SEC* seconds window for average : Compute current average rate over a *SEC* seconds window for average
rate and ETA calculations (default 30 seconds). rate and ETA calculations (default 30 seconds).
**-w ***WIDTH***, **\--width *****WIDTH* **-w WIDTH, \--width WIDTH**
: Assume the terminal is *WIDTH* characters wide, instead of trying to : Assume the terminal is *WIDTH* characters wide, instead of trying to
work it out (or assuming 80 if it cannot be guessed). If this option work it out (or assuming 80 if it cannot be guessed). If this option
is used, the output width will not be adjusted if the width of the is used, the output width will not be adjusted if the width of the
terminal changes while the transfer is running. terminal changes while the transfer is running.
**-H ***HEIGHT***, **\--height *****HEIGHT* **-H HEIGHT, \--height HEIGHT**
: Assume the terminal is *HEIGHT* rows high, instead of trying to work : Assume the terminal is *HEIGHT* rows high, instead of trying to work
it out (or assuming 25 if it cannot be guessed). If this option is it out (or assuming 25 if it cannot be guessed). If this option is
used, the output height will not be adjusted if the height of the used, the output height will not be adjusted if the height of the
terminal changes while the transfer is running. terminal changes while the transfer is running.
**-N ***NAME***, **\--name *****NAME* **-N NAME, \--name NAME**
: Prefix the output information with *NAME*. Useful in conjunction : Prefix the output information with *NAME*. Useful in conjunction
with **-c** if you have a complicated pipeline and you want to be with **-c** if you have a complicated pipeline and you want to be
@@ -250,13 +250,13 @@ are unreadable, the total size will not be calculated.
# DATA TRANSFER MODIFIERS # DATA TRANSFER MODIFIERS
**-L ***RATE***, **\--rate-limit *****RATE* **-L RATE, \--rate-limit RATE**
: Limit the transfer to a maximum of *RATE* bytes per second. A suffix : Limit the transfer to a maximum of *RATE* bytes per second. A suffix
of \"K\", \"M\", \"G\", or \"T\" can be added to denote kibibytes of \"K\", \"M\", \"G\", or \"T\" can be added to denote kibibytes
(\*1024), mebibytes, and so on. (\*1024), mebibytes, and so on.
**-B ***BYTES***, **\--buffer-size *****BYTES* **-B BYTES, \--buffer-size BYTES**
: Use a transfer buffer size of *BYTES* bytes. A suffix of \"K\", : Use a transfer buffer size of *BYTES* bytes. A suffix of \"K\",
\"M\", \"G\", or \"T\" can be added to denote kibibytes (\*1024), \"M\", \"G\", or \"T\" can be added to denote kibibytes (\*1024),
@@ -290,7 +290,7 @@ are unreadable, the total size will not be calculated.
: Specify **-E** twice to only report a read error once per file, : Specify **-E** twice to only report a read error once per file,
instead of reporting each byte range skipped. instead of reporting each byte range skipped.
**-Z ***BYTES***, **\--error-skip-block *****BYTES* **-Z BYTES, \--error-skip-block BYTES**
: When ignoring read errors with **-E**, instead of trying to : When ignoring read errors with **-E**, instead of trying to
adaptively skip by reading small amounts and skipping progressively adaptively skip by reading small amounts and skipping progressively
@@ -332,7 +332,7 @@ are unreadable, the total size will not be calculated.
This is equivalent to redirecting standard output to */dev/null*, This is equivalent to redirecting standard output to */dev/null*,
except that **write**(2) is never called. Implies **-C**. except that **write**(2) is never called. Implies **-C**.
**-d ***PID\[**:***FD*\], *****\--watchfd *****PID\[**:***FD*\]* **-d PID\[:FD\], \--watchfd PID\[:FD\]**
: Instead of transferring data, watch file descriptor *FD* of process : Instead of transferring data, watch file descriptor *FD* of process
*PID*, and show its progress. The **pv** process will exit when *FD* *PID*, and show its progress. The **pv** process will exit when *FD*
@@ -344,7 +344,7 @@ are unreadable, the total size will not be calculated.
all regular files and block devices it opens will be shown with a all regular files and block devices it opens will be shown with a
progress bar. The **pv** process will exit when process *PID* exits. progress bar. The **pv** process will exit when process *PID* exits.
**-R ***PID***, **\--remote *****PID* **-R PID, \--remote PID**
: If *PID* is an instance of **pv** that is already running, **-R : If *PID* is an instance of **pv** that is already running, **-R
***PID* will cause that instance to act as though it had been given ***PID* will cause that instance to act as though it had been given
@@ -356,7 +356,7 @@ are unreadable, the total size will not be calculated.
# GENERAL OPTIONS # GENERAL OPTIONS
**-P ***FILE***, **\--pidfile *****FILE* **-P FILE, \--pidfile FILE**
: Save the process ID of **pv** in *FILE*. The file will be replaced : Save the process ID of **pv** in *FILE*. The file will be replaced
if it already exists, and will be removed when **pv** exits. While if it already exists, and will be removed when **pv** exits. While
@@ -539,8 +539,10 @@ If you find any other problems, please report them.
# REPORTING BUGS # REPORTING BUGS
Report bugs in **pv** to pv@ivarch.com or use the contact form linked Please report any bugs to: \<https://codeberg.org/a-j-wood/pv/issues\>
from the **pv** home page: \<http://www.ivarch.com/programs/pv.shtml\>
Alternatively, use the contact form linked from the **pv** home page:
\<http://www.ivarch.com/programs/pv.shtml\>
# SEE ALSO # SEE ALSO
+2 -2
View File
@@ -239,8 +239,8 @@ msgstr ""
#: src/main/help.c:578 #: src/main/help.c:578
#, c-format #, c-format
msgid "Please report any bugs to %s." msgid "Please report any bugs to: %s"
msgstr "Bitte senden Sie Fehlerberichte an %s." msgstr "Bitte senden Sie Fehlerberichte an %s"
#: src/main/main.c:82 #: src/main/main.c:82
msgid "state allocation failed" msgid "state allocation failed"
+2 -2
View File
@@ -238,8 +238,8 @@ msgstr ""
#: src/main/help.c:578 #: src/main/help.c:578
#, c-format #, c-format
msgid "Please report any bugs to %s." msgid "Please report any bugs to: %s"
msgstr "SVP rapporter touts bogues à %s." msgstr "SVP rapporter touts bogues à %s"
#: src/main/main.c:82 #: src/main/main.c:82
msgid "state allocation failed" msgid "state allocation failed"
+2 -2
View File
@@ -233,8 +233,8 @@ msgstr ""
#: src/main/help.c:578 #: src/main/help.c:578
#, c-format #, c-format
msgid "Please report any bugs to %s." msgid "Please report any bugs to: %s"
msgstr "Proszę przesyłać zgłoszenia błędów do %s." msgstr "Proszę przesyłać zgłoszenia błędów do %s"
#: src/main/main.c:82 #: src/main/main.c:82
msgid "state allocation failed" msgid "state allocation failed"
+2 -2
View File
@@ -233,8 +233,8 @@ msgstr ""
#: src/main/help.c:578 #: src/main/help.c:578
#, c-format #, c-format
msgid "Please report any bugs to %s." msgid "Please report any bugs to: %s"
msgstr "Por favor, reporte quaisquer defeitos para %s." msgstr "Por favor, reporte quaisquer defeitos para %s"
#: src/main/main.c:82 #: src/main/main.c:82
msgid "state allocation failed" msgid "state allocation failed"
+1 -1
View File
@@ -578,7 +578,7 @@ void display_help(void)
printf("\n"); printf("\n");
bug_report_note = _("Please report any bugs to %s."); bug_report_note = _("Please report any bugs to: %s");
if (NULL != bug_report_note) { if (NULL != bug_report_note) {
/*@-formatconst@ */ /*@-formatconst@ */
/* /*