]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Restore ssh-keygen's -J and -j option handling.
authorDarren Tucker <dtucker@zip.com.au>
Mon, 12 Sep 2016 01:07:00 +0000 (11:07 +1000)
committerDarren Tucker <dtucker@zip.com.au>
Mon, 12 Sep 2016 01:07:00 +0000 (11:07 +1000)
These were incorrectly removed in the 1d9a2e28 sync commit.

ssh-keygen.c

index 0bd5fc93af54e1bca93d7355e3d09e4673d08fef..3ba50d85b52ed185caa006731d2811278402b9c3 100644 (file)
@@ -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)) >=