o Sync usage() and man page synopsis with reality.

MFC after:	1 week
This commit is contained in:
Maxim Konovalov 2004-01-18 17:49:25 +00:00
parent 7287c40c0d
commit 6dcfd34771
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=124681
2 changed files with 3 additions and 9 deletions

View File

@ -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

View File

@ -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);
}