docs: inform about pkill and --inverse option
authorSami Kerola <kerolasa@iki.fi>
Mon, 13 Feb 2012 20:18:54 +0000 (21:18 +0100)
committerSami Kerola <kerolasa@iki.fi>
Mon, 13 Feb 2012 20:26:01 +0000 (21:26 +0100)
The short option for --inverse is disabled for pkill, but long option
works just in case someone will find that piece of functionality usable.

Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=558044#67
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
pgrep.1

diff --git a/pgrep.1 b/pgrep.1
index 8f7cd8eac2ee0481106ce99c5dabf4727819fb6b..2fc1c98a1a5f40fb27e3c42443250d917dfc59d1 100644 (file)
--- a/pgrep.1
+++ b/pgrep.1
@@ -110,7 +110,9 @@ Only match processes whose real user ID is listed.  Either the numerical or
 symbolical value may be used.
 .TP
 \fB\-v\fR, \fB\-\-inverse\fR\fR
-Negates the matching.  (\fBpgrep\fP only.)
+Negates the matching.  This option usually used in pgrep context.  In
+.B pkill
+context the short option is disabled to avoid accidental usage of the option.
 .TP
 \fB\-x\fR, \fB\-\-exact\fR\fR
 Only match processes whose name (or command line if \-f is specified)