diff options
Diffstat (limited to 'bin/cat')
-rw-r--r-- | bin/cat/cat.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/cat/cat.c b/bin/cat/cat.c index 9e12d3e..0daac7c 100644 --- a/bin/cat/cat.c +++ b/bin/cat/cat.c @@ -68,7 +68,7 @@ static int bflag, eflag, lflag, nflag, sflag, tflag, vflag; static int rval; static const char *filename; -static void usage(void); +static void usage(void) __dead2; static void scanfiles(char *argv[], int cooked); static void cook_cat(FILE *); static void raw_cat(int); @@ -153,6 +153,7 @@ main(int argc, char *argv[]) static void usage(void) { + fprintf(stderr, "usage: cat [-belnstuv] [file ...]\n"); exit(1); /* NOTREACHED */ |