[openssh-commits] [openssh] 01/01: Restore ssh-keygen's -J and -j option handling.

git+noreply at mindrot.org git+noreply at mindrot.org
Mon Sep 12 11:07:52 AEST 2016


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit 0bb2980260fb24e5e0b51adac471395781b66261
Author: Darren Tucker <dtucker at zip.com.au>
Date:   Mon Sep 12 11:07:00 2016 +1000

    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 0bd5fc9..3ba50d8 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)) >=

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list