o Sync usage() and man page synopsis with reality.
MFC after: 1 week
This commit is contained in:
parent
7287c40c0d
commit
6dcfd34771
@ -32,13 +32,8 @@
|
||||
.Nd kill processes by name
|
||||
.Sh SYNOPSIS
|
||||
.Nm
|
||||
.Op Fl d | v
|
||||
.Op Fl h | ?\&
|
||||
.Op Fl dlmsvz
|
||||
.Op Fl help
|
||||
.Op Fl l
|
||||
.Op Fl m
|
||||
.Op Fl s
|
||||
.Op Fl z
|
||||
.Op Fl j Ar jid
|
||||
.Op Fl u Ar user
|
||||
.Op Fl t Ar tty
|
||||
@ -68,7 +63,6 @@ Be more verbose about what will be done. For a single
|
||||
option, a list of the processes that will be sent the signal will be
|
||||
printed, or a message indicating that no matching processes have been
|
||||
found.
|
||||
.It Fl h | ?\&
|
||||
.It Fl help
|
||||
Give a help on the command usage and exit.
|
||||
.It Fl l
|
||||
|
@ -50,9 +50,9 @@ static void __dead2
|
||||
usage(void)
|
||||
{
|
||||
|
||||
fprintf(stderr, "usage: killall [-l] [-v] [-m] [-sig] [-j jid]\n");
|
||||
fprintf(stderr, "usage: killall [-dlmsvz] [-help] [-j jid]\n");
|
||||
fprintf(stderr,
|
||||
" [-u user] [-t tty] [-c cmd] [cmd]...\n");
|
||||
" [-u user] [-t tty] [-c cmd] [-SIGNAL] [cmd]...\n");
|
||||
fprintf(stderr, "At least one option or argument to specify processes must be given.\n");
|
||||
exit(1);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user