summaryrefslogtreecommitdiffstats
path: root/ssh-keygen.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2016-09-12 11:07:00 +1000
committerDarren Tucker <dtucker@zip.com.au>2016-09-12 11:07:00 +1000
commit0bb2980260fb24e5e0b51adac471395781b66261 (patch)
tree9a283ff35817f933de8eac99770c3195d1d9ebdd /ssh-keygen.c
parent775f8a23f2353f5869003c57a213d14b28e0736e (diff)
Restore ssh-keygen's -J and -j option handling.
These were incorrectly removed in the 1d9a2e28 sync commit.
Diffstat (limited to 'ssh-keygen.c')
-rw-r--r--ssh-keygen.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ssh-keygen.c b/ssh-keygen.c
index 0bd5fc93..3ba50d85 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)) >=