mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 03:49:02 +00:00
Add missing '\n'; remove redundant 'h' case in getopt switch.
This commit is contained in:
parent
57037d27d5
commit
dd2461309f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=40926
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user