From 0bb2980260fb24e5e0b51adac471395781b66261 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Mon, 12 Sep 2016 11:07:00 +1000 Subject: [PATCH] Restore ssh-keygen's -J and -j option handling. These were incorrectly removed in the 1d9a2e28 sync commit. --- ssh-keygen.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ssh-keygen.c b/ssh-keygen.c index 0bd5fc93a..3ba50d85b 100644 --- a/ssh-keygen.c +++ b/ssh-keygen.c @@ -2466,6 +2466,12 @@ main(int argc, char **argv) sizeof(out_file)) fatal("Output filename too long"); break; + case 'J': + lines_to_process = strtoul(optarg, NULL, 10); + break; + case 'j': + start_lineno = strtoul(optarg, NULL, 10); + break; case 'T': do_screen_candidates = 1; if (strlcpy(out_file, optarg, sizeof(out_file)) >=