Bug 56841 - Wrong man page for kill
Wrong man page for kill
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: util-linux (Show other bugs)
7.1
All Linux
medium Severity medium
: ---
: ---
Assigned To: Elliot Lee
Ben Levenson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-11-28 12:41 EST by Dylan Martin
Modified: 2007-04-18 12:38 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-11-28 12:41:10 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Dylan Martin 2001-11-28 12:41:04 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.7 [en] (Win98; U)

Description of problem:
The man page for kill describes a -p switch
     -p     Specify that kill should only print the process id (pid) of
              the named processes, and not send any signals.
the kill command does not support -p, and when you run "kill" with no switches is prints this usage
    kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or kill -l [sigspec]
which mentions no -p switch

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.man kill
2.kill

	

Actual Results:  The features described in the man page differ from those described by kill's usage statement

Expected Results:  They should, like, match.

Additional info:

If I had my whim, I'd like that -p switch to work.  I could use that.  Probably a good reason it's not there though.
Comment 1 Elliot Lee 2002-01-04 16:32:49 EST
Hi,

/bin/kill is not the same as the builtin bash 'kill'. The man page is for the
former, 'help kill' is for the latter

Note You need to log in before you can comment on or make changes to this bug.