diff options
| author | Sami Kerola <kerolasa@iki.fi> | 2016-08-08 21:50:19 +0100 |
|---|---|---|
| committer | Sami Kerola <kerolasa@iki.fi> | 2016-08-14 13:30:16 +0100 |
| commit | 0be3ad70ad85cce75be6fffb87fa81e62bd4b105 (patch) | |
| tree | d8c9708e5f39e1941cb8f56471e2d6bfea7686b6 /misc-utils/kill.c | |
| parent | 984a60965a0e3cd3253a74c77af916b05381c03d (diff) | |
| download | util-linux-0be3ad70ad85cce75be6fffb87fa81e62bd4b105.tar.gz | |
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: c5b057b3422504a671ee588fa66574ae876521f1
Reviewed-by: Benno Schulenberg <bensberg@justemail.net>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'misc-utils/kill.c')
| -rw-r--r-- | misc-utils/kill.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/misc-utils/kill.c b/misc-utils/kill.c index 34b9487972..e52a03d4ba 100644 --- a/misc-utils/kill.c +++ b/misc-utils/kill.c @@ -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. */ |
