Update manpage and usage for kill(1)
This commit is contained in:
parent
61046dd39b
commit
23d1dc6a55
14
kill.1
14
kill.1
|
@ -2,15 +2,13 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
KILL \- signal processes
|
KILL \- signal processes
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B kill
|
\fBkill\fR [ \fB-s\fR \fIsignal_name\fR ] \fIpid\fR \fI...\fR
|
||||||
.RB [ \-s
|
|
||||||
.IR signal_name ]
|
|
||||||
.IR pid
|
|
||||||
.IR ...
|
|
||||||
.P
|
.P
|
||||||
.B kill
|
\fBkill\fR \fB-l\fR [ \fIexit_status\fR \fI...\fR]
|
||||||
.B -l
|
.P
|
||||||
.RI [ exit_status ]
|
\fBkill\fR \fB-\fR\fIsignal_name\fR \fIpid\fR \fI...\fR
|
||||||
|
.P
|
||||||
|
\fBkill\fR \fB-\fR\fIsignal_number\fR \fIpid\fR \fI...\fR
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.B kill
|
.B kill
|
||||||
by default sends a
|
by default sends a
|
||||||
|
|
4
kill.c
4
kill.c
|
@ -27,8 +27,8 @@ const char *sig2name(int);
|
||||||
static void
|
static void
|
||||||
usage(void)
|
usage(void)
|
||||||
{
|
{
|
||||||
weprintf("usage: %s -s signal_name pid...\n", argv0);
|
weprintf("usage: %s [-s signame | -signum | -signame] pid ...\n", argv0);
|
||||||
weprintf(" %s -l [exit_status]\n", argv0);
|
weprintf(" %s -l [exit_status ...]\n", argv0);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user