Print a usage message if a non-option is specified.

MFC after:	3 weeks
This commit is contained in:
schweikh 2004-10-13 20:33:18 +00:00
parent 6ad5a15cc6
commit d3c6fd4749

View File

@ -99,7 +99,8 @@ main(int argc, char *argv[])
usage(); usage();
} }
argc -= optind; argc -= optind;
argv += optind; if (argc != 0)
usage();
if (memf == NULL) { if (memf == NULL) {
/* /*