From owner-svn-src-head@freebsd.org Sat Jun 27 11:28:12 2020 Return-Path: Delivered-To: svn-src-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 37C6834CCF1; Sat, 27 Jun 2020 11:28:12 +0000 (UTC) (envelope-from fernape@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49vBMJ0RQhz3Tq3; Sat, 27 Jun 2020 11:28:12 +0000 (UTC) (envelope-from fernape@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0A20F247DB; Sat, 27 Jun 2020 11:28:12 +0000 (UTC) (envelope-from fernape@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 05RBSBUr062415; Sat, 27 Jun 2020 11:28:11 GMT (envelope-from fernape@FreeBSD.org) Received: (from fernape@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 05RBSB1U062414; Sat, 27 Jun 2020 11:28:11 GMT (envelope-from fernape@FreeBSD.org) Message-Id: <202006271128.05RBSB1U062414@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: fernape set sender to fernape@FreeBSD.org using -f From: =?UTF-8?Q?Fernando_Apestegu=c3=ada?= Date: Sat, 27 Jun 2020 11:28:11 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r362678 - head/usr.bin/killall X-SVN-Group: head X-SVN-Commit-Author: fernape X-SVN-Commit-Paths: head/usr.bin/killall X-SVN-Commit-Revision: 362678 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Jun 2020 11:28:12 -0000 Author: fernape (ports committer) Date: Sat Jun 27 11:28:11 2020 New Revision: 362678 URL: https://svnweb.freebsd.org/changeset/base/362678 Log: killall(1): Clarify -d, -s and -v options -d and -v are not equivalent options. The former is more verbose than the latter and the former does not actually send the signals while the latter does. Let them have their own paragraphs. From the point of view of the output, -v is equivalent to -s, so describe them close to each other. The difference is that former actually sends the signals and the latter doesn't. PR: 247411 Approved by: manpages(0mp) Differential Revision: https://reviews.freebsd.org/D25413 Modified: head/usr.bin/killall/killall.1 Modified: head/usr.bin/killall/killall.1 ============================================================================== --- head/usr.bin/killall/killall.1 Sat Jun 27 11:19:18 2020 (r362677) +++ head/usr.bin/killall/killall.1 Sat Jun 27 11:28:11 2020 (r362678) @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd June 4, 2020 +.Dd June 27, 2020 .Dt KILLALL 1 .Os .Sh NAME @@ -58,13 +58,11 @@ The super-user is allowed to kill any process. .Pp The options are as follows: .Bl -tag -width ".Fl c Ar procname" -.It Fl d | v -Be more verbose about what will be done. -For a single -.Fl d -option, a list of the processes that will be sent the signal will be -printed, or a message indicating that no matching processes have been -found. +.It Fl d +Be more verbose about what will be done, but do not send any signal. +The total number of user processes and the real user ID is shown. +A list of the processes that will be sent the signal will be printed, or a +message indicating that no matching processes have been found. .It Fl e Use the effective user ID instead of the (default) real user ID for matching processes specified with the @@ -86,8 +84,12 @@ of processes found. CAUTION! This is dangerous, a single dot will match any process running under the real UID of the caller. +.It Fl v +Be verbose about what will be done. .It Fl s -Show only what would be done, but do not send any signal. +Same as +.Fl v , +but do not send any signal. .It Fl Ar SIGNAL Send a different signal instead of the default .Dv TERM . @@ -190,9 +192,9 @@ to all processes matching provided pattern (like vim a killall -m 'vim*' .Ed .Sh DIAGNOSTICS -Diagnostic messages will only be printed if requested by +Diagnostic messages will only be printed if the .Fl d -options. +flag is used. .Sh SEE ALSO .Xr kill 1 , .Xr pkill 1 ,