diff --git a/ssh-add.1 b/ssh-add.1 index 83a6b9a3e..9d39a6262 100644 --- a/ssh-add.1 +++ b/ssh-add.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ssh-add.1,v 1.82 2021/12/19 22:14:12 djm Exp $ +.\" $OpenBSD: ssh-add.1,v 1.83 2021/12/22 06:56:41 jmc Exp $ .\" .\" Author: Tatu Ylonen .\" Copyright (c) 1995 Tatu Ylonen , Espoo, Finland @@ -35,7 +35,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: December 19 2021 $ +.Dd $Mdocdate: December 22 2021 $ .Dt SSH-ADD 1 .Os .Sh NAME @@ -45,10 +45,10 @@ .Nm ssh-add .Op Fl cDdKkLlqvXx .Op Fl E Ar fingerprint_hash -.Op Fl S Ar provider -.Op Fl t Ar life .Op Fl H Ar hostkey_file .Op Fl h Ar destination_constraint +.Op Fl S Ar provider +.Op Fl t Ar life .Op Ar .Nm ssh-add .Fl s Ar pkcs11 @@ -132,8 +132,8 @@ The default is Remove keys provided by the PKCS#11 shared library .Ar pkcs11 . .It Fl H Ar hostkey_file -Specifies a known hosts file to lookup hostkeys when using destination- -constained keys via the +Specifies a known hosts file to look up hostkeys when using +destination-constrained keys via the .Fl h flag. This option may be specified multiple times to allow multiple files to be diff --git a/ssh-add.c b/ssh-add.c index 5090aca47..4f2d70541 100644 --- a/ssh-add.c +++ b/ssh-add.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh-add.c,v 1.162 2021/12/19 22:10:24 djm Exp $ */ +/* $OpenBSD: ssh-add.c,v 1.163 2021/12/22 06:56:41 jmc Exp $ */ /* * Author: Tatu Ylonen * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland @@ -772,8 +772,8 @@ static void usage(void) { fprintf(stderr, -"usage: ssh-add [-cDdKkLlqvXx] [-E fingerprint_hash] [-S provider] [-t life]\n" -" [-H hostkey_file] [-h destination]\n" +"usage: ssh-add [-cDdKkLlqvXx] [-E fingerprint_hash] [-H hostkey_file]\n" +" [-h destination_constraint] [-S provider] [-t life]\n" #ifdef WITH_XMSS " [-M maxsign] [-m minleft]\n" #endif