Re: [PATCH 06/10] kill: leeway deprecation of --pid invocation as command name

Karel Zak
2014-04-07T08:31:03Z

On Sun, Mar 09, 2014 at 03:30:19PM -0500, Sami Kerola wrote:
> Who knows if anyone is linking or copying kill to a file name 'pid' and
> using --pid option functionality that way, so lets inform these users and
> get rid of command name hack after few releases.
>
> Signed-off-by: Sami Kerola <kerolasa@iki.fi>
> ---
> misc-utils/kill.1 | 5 +++++
> misc-utils/kill.c | 2 ++
> 2 files changed, 7 insertions(+)
>
> diff --git a/misc-utils/kill.1 b/misc-utils/kill.1
> index 50f5cd2..e6c4000 100644
> --- a/misc-utils/kill.1
> +++ b/misc-utils/kill.1
> @@ -88,6 +88,11 @@ Specify that
> .B kill
> should only print the process id (pid) of the named processes, and not send any
> signals.
> +.IP
> +The \-\-pid option functionality is enabled when the command

The \-\-pid option functionality is *also* enabled when the command

I guess that the --pid is pretty valid an no deprecated at all, the
deprecated is "pid" as argv[0].

I'll fix it.

Karel

--
Karel Zak <kzak@redhat.com>