[hackers] [sbase] Update manpage and usage for kill(1) || sin
commit 23d1dc6a5578bc03924ec0826c1742bcd9ce2494
Author: sin <sin_AT_2f30.org>
Date: Tue Nov 11 15:50:21 2014 +0000
Update manpage and usage for kill(1)
diff --git a/kill.1 b/kill.1
index 8801530..0a41827 100644
--- a/kill.1
+++ b/kill.1
_AT_@ -2,15 +2,13 @@
.SH NAME
KILL \- signal processes
.SH SYNOPSIS
-.B kill
-.RB [ \-s
-.IR signal_name ]
-.IR pid
-.IR ...
+\fBkill\fR [ \fB-s\fR \fIsignal_name\fR ] \fIpid\fR \fI...\fR
.P
-.B kill
-.B -l
-.RI [ exit_status ]
+\fBkill\fR \fB-l\fR [ \fIexit_status\fR \fI...\fR]
+.P
+\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
.B kill
by default sends a
diff --git a/kill.c b/kill.c
index 5e9f858..6735b31 100644
--- a/kill.c
+++ b/kill.c
_AT_@ -27,8 +27,8 @@ const char *sig2name(int);
static void
usage(void)
{
- weprintf("usage: %s -s signal_name pid...\n", argv0);
- weprintf(" %s -l [exit_status]\n", argv0);
+ weprintf("usage: %s [-s signame | -signum | -signame] pid ...\n", argv0);
+ weprintf(" %s -l [exit_status ...]\n", argv0);
exit(1);
}
Received on Tue Nov 11 2014 - 16:53:30 CET
This archive was generated by hypermail 2.3.0
: Tue Nov 11 2014 - 17:00:11 CET