Restore ssh-keygen's -J and -j option handling.

These were incorrectly removed in the 1d9a2e28 sync commit.
This commit is contained in:
Darren Tucker 2016-09-12 11:07:00 +10:00
parent 775f8a23f2
commit 0bb2980260
1 changed files with 6 additions and 0 deletions

View File

@ -2466,6 +2466,12 @@ main(int argc, char **argv)
sizeof(out_file)) sizeof(out_file))
fatal("Output filename too long"); fatal("Output filename too long");
break; break;
case 'J':
lines_to_process = strtoul(optarg, NULL, 10);
break;
case 'j':
start_lineno = strtoul(optarg, NULL, 10);
break;
case 'T': case 'T':
do_screen_candidates = 1; do_screen_candidates = 1;
if (strlcpy(out_file, optarg, sizeof(out_file)) >= if (strlcpy(out_file, optarg, sizeof(out_file)) >=