Print usage via fprintf(stderr, ..) instead of errx() to avoid progname prefix.

Submitted by:	Philippe Charnier <charnier@xp11.frmug.org>
This commit is contained in:
Archie Cobbs 1999-02-05 00:42:14 +00:00
parent 820165ecfd
commit d37fcb98e3

View File

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