summaryrefslogtreecommitdiff
path: root/ssh-keygen.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2013-12-07 10:31:37 +1100
committerDamien Miller <djm@mindrot.org>2013-12-07 10:31:37 +1100
commit0f8536da23a6ef26e6495177c0d8a4242b710289 (patch)
tree1d18a76327e74a63b9b89c23e4e0026ca360fb9d /ssh-keygen.c
parent393920745fd328d3fe07f739a3cf7e1e6db45b60 (diff)
- djm@cvs.openbsd.org 2013/12/06 03:40:51
[ssh-keygen.c] remove duplicated character ('g') in getopt() string; document the (few) remaining option characters so we don't have to rummage next time.
Diffstat (limited to 'ssh-keygen.c')
-rw-r--r--ssh-keygen.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ssh-keygen.c b/ssh-keygen.c
index 678dafe87..e5e2f2f6c 100644
--- a/ssh-keygen.c
+++ b/ssh-keygen.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh-keygen.c,v 1.235 2013/10/23 04:16:22 djm Exp $ */ 1/* $OpenBSD: ssh-keygen.c,v 1.236 2013/12/06 03:40:51 djm Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -2225,8 +2225,9 @@ main(int argc, char **argv)
2225 exit(1); 2225 exit(1);
2226 } 2226 }
2227 2227
2228 /* Remaining characters: EUYZdow */
2228 while ((opt = getopt(argc, argv, "ABHLQXceghiklpquvxy" 2229 while ((opt = getopt(argc, argv, "ABHLQXceghiklpquvxy"
2229 "C:D:F:G:I:J:K:M:N:O:P:R:S:T:V:W:a:b:f:g:j:m:n:r:s:t:z:")) != -1) { 2230 "C:D:F:G:I:J:K:M:N:O:P:R:S:T:V:W:a:b:f:j:m:n:r:s:t:z:")) != -1) {
2230 switch (opt) { 2231 switch (opt) {
2231 case 'A': 2232 case 'A':
2232 gen_all_hostkeys = 1; 2233 gen_all_hostkeys = 1;