From 1cde286c751911a5d1245a9dfd79f69ffd5d2f3d Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Wed, 25 Jan 2012 09:17:49 +0100 Subject: [PATCH] docs: add to pgrep.1 count return value information Signed-off-by: Sami Kerola --- pgrep.1 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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