From 4df6fbf6f74d50bd7f740cf6876bd9ce29dd5865 Mon Sep 17 00:00:00 2001 From: Andrew Wood Date: Thu, 23 Oct 2025 22:02:59 +0100 Subject: [PATCH] Mention that the --query PID needs to be owned by the same user (#101). --- docs/pv.1 | 3 ++- docs/pv.1.md | 11 ++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/docs/pv.1 b/docs/pv.1 index 21ada56..f638ecb 100644 --- a/docs/pv.1 +++ b/docs/pv.1 @@ -400,7 +400,8 @@ Note that some options cannot be changed while running, such as .TP .BI \-Q\ PID \fR,\ \fB\-\-query\ PID Display the transfer progress of another instance of \fBpv\fR with process -ID \fIPID\fR. +ID \fIPID\fR, owned by the same user. +.IP Some output modifiers can only be used while querying another process if they match those of that process - such as \*(lq\fB\-\-line\-mode\fR\*(rq, diff --git a/docs/pv.1.md b/docs/pv.1.md index 48d7fcc..763cd35 100644 --- a/docs/pv.1.md +++ b/docs/pv.1.md @@ -415,11 +415,12 @@ are explicitly switched on will be shown. **-Q PID, \--query PID** : Display the transfer progress of another instance of **pv** with - process ID *PID*. Some output modifiers can only be used while - querying another process if they match those of that process - such - as "**\--line-mode**", "**\--null**", and - "**\--average-rate-window**". Data transfer modifiers will have no - effect. + process ID *PID*, owned by the same user. + + Some output modifiers can only be used while querying another + process if they match those of that process - such as + "**\--line-mode**", "**\--null**", and "**\--average-rate-window**". + Data transfer modifiers will have no effect. ## Other options