summaryrefslogtreecommitdiffstats
path: root/ssh.c
diff options
context:
space:
mode:
authorjmc@openbsd.org <jmc@openbsd.org>2023-07-17 07:41:53 +0200
committerDamien Miller <djm@mindrot.org>2023-07-17 08:23:03 +0200
commit6d6e185ba29ef4274164b77eab4dc763907f8821 (patch)
tree3189977bee7a05c57fc6dfb1896577e4d82b3717 /ssh.c
parentupstream: -P before -p in SYNOPSIS; (diff)
downloadopenssh-6d6e185ba29ef4274164b77eab4dc763907f8821.tar.xz
openssh-6d6e185ba29ef4274164b77eab4dc763907f8821.zip
upstream: - add -P to usage() - sync the arg name to -J in usage()
with that in ssh.1 - reformat usage() to match what "man ssh" does on 80width OpenBSD-Commit-ID: 5235dd7aa42e5bf90ae54579d519f92fc107036e
Diffstat (limited to '')
-rw-r--r--ssh.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/ssh.c b/ssh.c
index d11824263..c8fcfb2b9 100644
--- a/ssh.c
+++ b/ssh.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh.c,v 1.591 2023/07/17 04:08:31 djm Exp $ */
+/* $OpenBSD: ssh.c,v 1.592 2023/07/17 05:41:53 jmc Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -179,13 +179,13 @@ static void
usage(void)
{
fprintf(stderr,
-"usage: ssh [-46AaCfGgKkMNnqsTtVvXxYy] [-B bind_interface]\n"
-" [-b bind_address] [-c cipher_spec] [-D [bind_address:]port]\n"
-" [-E log_file] [-e escape_char] [-F configfile] [-I pkcs11]\n"
-" [-i identity_file] [-J [user@]host[:port]] [-L address]\n"
-" [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]\n"
-" [-Q query_option] [-R address] [-S ctl_path] [-W host:port]\n"
-" [-w local_tun[:remote_tun]] destination [command [argument ...]]\n"
+"usage: ssh [-46AaCfGgKkMNnqsTtVvXxYy] [-B bind_interface] [-b bind_address]\n"
+" [-c cipher_spec] [-D [bind_address:]port] [-E log_file]\n"
+" [-e escape_char] [-F configfile] [-I pkcs11] [-i identity_file]\n"
+" [-J destination] [-L address] [-l login_name] [-m mac_spec]\n"
+" [-O ctl_cmd] [-o option] [-P tag] [-p port] [-Q query_option]\n"
+" [-R address] [-S ctl_path] [-W host:port] [-w local_tun[:remote_tun]]\n"
+" destination [command [argument ...]]\n"
);
exit(255);
}