kill: remove pid command-name to option alias

Removal was promised to happen in March 2016 and the time has come to get
rid of this unexpected feature.

Reference: c5b057b342
Reviewed-by: Benno Schulenberg <bensberg@justemail.net>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2016-08-08 21:50:19 +01:00
parent 984a60965a
commit 0be3ad70ad
No known key found for this signature in database
GPG Key ID: A9553245FDE9B739
3 changed files with 0 additions and 14 deletions

View File

@ -34,11 +34,6 @@ why: does not provide control on output data formatting. The recommended solut
--------------------------
what: "pid" as binary name for "kill --pid"
why: too ugly, too obscure
--------------------------
What: mkfs
Why: use filesystem specific mkfs.<type>.

View File

@ -91,11 +91,6 @@ uid as the present process.
\fB\-p\fR, \fB\-\-pid\fR
Only print the process id (pid) of the named processes, do not send any
signals.
.IP
The \fB\-\-pid\fR option is automatically enabled when the \fBkill\fR command
is invoked with the name of
.BR pid .
This functionality is deprecated, and will be removed in March 2016.
.TP
\fB\-\-verbose\fR
Print pid(s) that will be signaled with kill along with the signal.

View File

@ -472,10 +472,6 @@ int main(int argc, char **argv)
textdomain(PACKAGE);
atexit(close_stdout);
ctl.do_pid = (!strcmp(program_invocation_short_name, "pid")); /* Yecch */
if (ctl.do_pid) /* FIXME: remove in March 2016. */
warnx(_("use of 'kill --pid' option as command name is deprecated"));
argv = parse_arguments(argc, argv, &ctl);
/* The rest of the arguments should be process ids and names. */