summaryrefslogtreecommitdiff
path: root/ssh-keygen.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2019-01-22 20:48:01 +0000
committerDamien Miller <djm@mindrot.org>2019-01-23 10:44:34 +1100
commitf99ef8de967949a1fc25a5c28263ea32736e5943 (patch)
tree290998e40951cbe9c6e350d6dd6b5ce7c067a9bd /ssh-keygen.c
parent41923ce06ac149453debe472238e0cca7d5a2e5f (diff)
upstream: add -m to usage(); reminded by jmc@
OpenBSD-Commit-ID: bca476a5236e8f94210290b3e6a507af0434613e
Diffstat (limited to 'ssh-keygen.c')
-rw-r--r--ssh-keygen.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/ssh-keygen.c b/ssh-keygen.c
index a67737350..6077bb20e 100644
--- a/ssh-keygen.c
+++ b/ssh-keygen.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh-keygen.c,v 1.323 2018/10/19 03:12:42 djm Exp $ */ 1/* $OpenBSD: ssh-keygen.c,v 1.324 2019/01/22 20:48:01 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
@@ -2392,9 +2392,10 @@ static void
2392usage(void) 2392usage(void)
2393{ 2393{
2394 fprintf(stderr, 2394 fprintf(stderr,
2395 "usage: ssh-keygen [-q] [-b bits] [-t dsa | ecdsa | ed25519 | rsa]\n" 2395 "usage: ssh-keygen [-q] [-b bits] [-t dsa | ecdsa | ed25519 | rsa] [-m format]\n"
2396 " [-N new_passphrase] [-C comment] [-f output_keyfile]\n" 2396 " [-N new_passphrase] [-C comment] [-f output_keyfile]\n"
2397 " ssh-keygen -p [-P old_passphrase] [-N new_passphrase] [-f keyfile]\n" 2397 " ssh-keygen -p [-P old_passphrase] [-N new_passphrase] [-m format]\n"
2398 " [-f keyfile]\n"
2398 " ssh-keygen -i [-m key_format] [-f input_keyfile]\n" 2399 " ssh-keygen -i [-m key_format] [-f input_keyfile]\n"
2399 " ssh-keygen -e [-m key_format] [-f input_keyfile]\n" 2400 " ssh-keygen -e [-m key_format] [-f input_keyfile]\n"
2400 " ssh-keygen -y [-f input_keyfile]\n" 2401 " ssh-keygen -y [-f input_keyfile]\n"