summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/clientloop.c
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2004-05-22 06:32:13 +0000
committerDamien Miller <djm@cvs.openbsd.org>2004-05-22 06:32:13 +0000
commit99b3fde6241b77d30d522c5386d7b52251708ab3 (patch)
tree82a73a539c665f557bceca34c1a26ee7fef98fac /usr.bin/ssh/clientloop.c
parent39bf0fa8b62f09327394be022b355659ffb8ae3a (diff)
use '-h' for help in ~C commandline instead of '-?'; inspired by jmc@
Diffstat (limited to 'usr.bin/ssh/clientloop.c')
-rw-r--r--usr.bin/ssh/clientloop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/clientloop.c b/usr.bin/ssh/clientloop.c
index ce627e8b824..31e604180a6 100644
--- a/usr.bin/ssh/clientloop.c
+++ b/usr.bin/ssh/clientloop.c
@@ -59,7 +59,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: clientloop.c,v 1.121 2004/05/21 11:33:11 djm Exp $");
+RCSID("$OpenBSD: clientloop.c,v 1.122 2004/05/22 06:32:12 djm Exp $");
#include "ssh.h"
#include "ssh1.h"
@@ -521,7 +521,7 @@ process_cmdline(void)
if (*s == '\0')
goto out;
- if (*s == '?') {
+ if (*s == 'h' || *s == 'H' || *s == '?') {
logit("Commands:");
logit(" -Lport:host:hostport Request local forward");
logit(" -Rport:host:hostport Request remote forward");