diff options
Diffstat (limited to 'usr.bin/killall/killall.c')
-rw-r--r-- | usr.bin/killall/killall.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/killall/killall.c b/usr.bin/killall/killall.c index 0cf417d..12de0c8 100644 --- a/usr.bin/killall/killall.c +++ b/usr.bin/killall/killall.c @@ -27,6 +27,7 @@ * $FreeBSD$ */ +#include <sys/cdefs.h> #include <sys/param.h> #include <sys/stat.h> #include <sys/user.h> @@ -46,7 +47,7 @@ static char *prog; -static void +static void __dead2 usage(void) { @@ -138,6 +139,8 @@ main(int ac, char **av) printsig(stdout); exit(0); } + if (strcmp(*av, "-help") == 0) + usage(); if (**av == '-') { ++*av; switch (**av) { |