Classify --watchfd and --remote as "alternative operating modes" rather than "data transfer modifiers" since they change the way PV runs entirely.

This commit is contained in:
Andrew Wood
2024-12-10 21:05:59 +00:00
parent 35fdb331e4
commit 73bc1ab139
2 changed files with 7 additions and 2 deletions
+4 -1
View File
@@ -338,6 +338,9 @@ size, so you can see its progress.
Note that when doing this with relatively small amounts of data,
\*(lq\fB\-\-no-splice\fR\*(rq may be preferable so that pipe buffering
doesn't affect the progress display.
.\"
.\"
.SS "Alternative operating modes"
.TP
.BI \-d\ PID\fR[\fB:\fR\fIFD\fR],\ \fB\-\-watchfd\ PID\fR[\fB:\fR\fIFD\fR]
Instead of transferring data, watch file descriptor \fIFD\fR of process
@@ -363,7 +366,7 @@ Note that some options cannot be changed while running, such as
\*(lq\fB\-\-force\fR\*(rq, \*(lq\fB\-\-delay\-start\fR\*(rq,
\*(lq\fB\-\-skip\-errors\fR\*(rq, and \*(lq\fB\-\-stop\-at\-size\fR\*(rq.
.\"
.SS "General options"
.SS "Other options"
.TP
.BI \-P\ FILE \fR,\ \fB\-\-pidfile\ FILE
Save the process ID of \fBpv\fR in \fIFILE\fR.
+3 -1
View File
@@ -347,6 +347,8 @@ are explicitly switched on will be shown.
be preferable so that pipe buffering doesn\'t affect the progress
display.
## Alternative operating modes
**-d PID\[:FD\], \--watchfd PID\[:FD\]**
: Instead of transferring data, watch file descriptor *FD* of process
@@ -372,7 +374,7 @@ are explicitly switched on will be shown.
"**\--delay-start**", "**\--skip-errors**", and
"**\--stop-at-size**".
## General options
## Other options
**-P FILE, \--pidfile FILE**