diff options
author | Darren Tucker <dtucker@zip.com.au> | 2016-09-12 11:07:00 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2016-09-12 11:07:00 +1000 |
commit | 0bb2980260fb24e5e0b51adac471395781b66261 (patch) | |
tree | 9a283ff35817f933de8eac99770c3195d1d9ebdd /ssh-keygen.c | |
parent | 775f8a23f2353f5869003c57a213d14b28e0736e (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.c | 6 |
1 files changed, 6 insertions, 0 deletions
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) | |||
2466 | sizeof(out_file)) | 2466 | sizeof(out_file)) |
2467 | fatal("Output filename too long"); | 2467 | fatal("Output filename too long"); |
2468 | break; | 2468 | break; |
2469 | case 'J': | ||
2470 | lines_to_process = strtoul(optarg, NULL, 10); | ||
2471 | break; | ||
2472 | case 'j': | ||
2473 | start_lineno = strtoul(optarg, NULL, 10); | ||
2474 | break; | ||
2469 | case 'T': | 2475 | case 'T': |
2470 | do_screen_candidates = 1; | 2476 | do_screen_candidates = 1; |
2471 | if (strlcpy(out_file, optarg, sizeof(out_file)) >= | 2477 | if (strlcpy(out_file, optarg, sizeof(out_file)) >= |