From: Sami Kerola Date: Wed, 25 Jan 2012 08:17:49 +0000 (+0100) Subject: docs: add to pgrep.1 count return value information X-Git-Tag: v3.3.3~106 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1cde286c751911a5d1245a9dfd79f69ffd5d2f3d;p=procps-ng docs: add to pgrep.1 count return value information Signed-off-by: Sami Kerola --- diff --git a/pgrep.1 b/pgrep.1 index 06e1e7f5..a7bb60fc 100644 --- a/pgrep.1 +++ b/pgrep.1 @@ -47,8 +47,9 @@ the symbolic signal name can be used. only.) .TP \fB\-c\fR, \fB\-\-count\fR -Suppress normal output; instead print a count of matching processes. -(\fBpgrep\fP only.) +Suppress normal output; instead print a count of matching processes. When +count does not match anything, e.g. returns zero, the command will return +non-zero value. (\fBpgrep\fP only.) .TP \fB\-d\fR, \fB\-\-delimeter\fR \fIdelimiter\fP Sets the string used to delimit each process ID in the output (by default a