diff options
author | maxim <maxim@FreeBSD.org> | 2004-01-18 17:49:25 +0000 |
---|---|---|
committer | maxim <maxim@FreeBSD.org> | 2004-01-18 17:49:25 +0000 |
commit | a8282437b8083036e4c7ce6bc04078a11340e351 (patch) | |
tree | 4bf265706925e7619199fbd91d2353e0a6685609 /usr.bin/killall | |
parent | ebbfae5191185f2b2c25428d6584b30ae09d428a (diff) | |
download | FreeBSD-src-a8282437b8083036e4c7ce6bc04078a11340e351.zip FreeBSD-src-a8282437b8083036e4c7ce6bc04078a11340e351.tar.gz |
o Sync usage() and man page synopsis with reality.
MFC after: 1 week
Diffstat (limited to 'usr.bin/killall')
-rw-r--r-- | usr.bin/killall/killall.1 | 8 | ||||
-rw-r--r-- | usr.bin/killall/killall.c | 4 |
2 files changed, 3 insertions, 9 deletions
diff --git a/usr.bin/killall/killall.1 b/usr.bin/killall/killall.1 index 3614e3f..d85eceb 100644 --- a/usr.bin/killall/killall.1 +++ b/usr.bin/killall/killall.1 @@ -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 diff --git a/usr.bin/killall/killall.c b/usr.bin/killall/killall.c index 6681b2e..3628da8 100644 --- a/usr.bin/killall/killall.c +++ b/usr.bin/killall/killall.c @@ -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); } |