Add missing '\n'; remove redundant 'h' case in getopt switch.

This commit is contained in:
Robert Nordier 1998-11-05 07:24:21 +00:00
parent 57037d27d5
commit dd2461309f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=40926

View File

@ -112,7 +112,7 @@ main(argc, argv)
errno = 0;
depth = atoi(optarg);
if (errno == ERANGE || depth < 0) {
(void) fprintf(stderr, "Invalid argument to option d: %s", optarg);
(void) fprintf(stderr, "Invalid argument to option d: %s\n", optarg);
usage();
}
break;
@ -120,7 +120,6 @@ main(argc, argv)
cflag = 1;
break;
case '?':
case 'h':
default:
usage();
}