diff options
| author | Archie Cobbs <archie@FreeBSD.org> | 1999-02-05 00:42:14 +0000 |
|---|---|---|
| committer | Archie Cobbs <archie@FreeBSD.org> | 1999-02-05 00:42:14 +0000 |
| commit | d37fcb98e372d32af6a3e0b03cc630f0e468d2ae (patch) | |
| tree | b6d9142cc60ea9e09c17f8beabdaaabdb3d32874 /usr.bin/split | |
| parent | 820165ecfdedeabb7e27919f633a6e82f997f27a (diff) | |
Notes
Diffstat (limited to 'usr.bin/split')
| -rw-r--r-- | usr.bin/split/split.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/split/split.c b/usr.bin/split/split.c index 84c7bca97b5b..602c1d8c5296 100644 --- a/usr.bin/split/split.c +++ b/usr.bin/split/split.c @@ -309,6 +309,7 @@ newfile() static void usage() { - errx(EX_USAGE, -"usage: split [-b byte_count] [-l line_count] [-p pattern] [file [prefix]]"); + (void)fprintf(stderr, +"usage: split [-b byte_count] [-l line_count] [-p pattern] [file [prefix]]\n"); + exit(EX_USAGE); } |
