diff options
author | Damien Miller <djm@mindrot.org> | 2006-07-10 20:16:12 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2006-07-10 20:16:12 +1000 |
commit | 43020951adc182bb98ac2b3c539fbca86622166d (patch) | |
tree | b4f8da1cb87bf003ff38bbeb6d63f282d76a199d /clientloop.c | |
parent | 1e88ea655634749a847c9426a08b635f6198f085 (diff) |
- djm@cvs.openbsd.org 2006/06/26 10:36:15
[clientloop.c]
mention optional bind_address in runtime port forwarding setup
command-line help. patch from santhi.amirta AT gmail.com
Diffstat (limited to 'clientloop.c')
-rw-r--r-- | clientloop.c | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/clientloop.c b/clientloop.c index a9572134..b99ba03c 100644 --- a/clientloop.c +++ b/clientloop.c @@ -1,4 +1,4 @@ -/* $OpenBSD: clientloop.c,v 1.163 2006/05/16 09:00:00 markus Exp $ */ +/* $OpenBSD: clientloop.c,v 1.164 2006/06/26 10:36:15 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -925,12 +925,16 @@ process_cmdline(void) if (*s == 'h' || *s == 'H' || *s == '?') { logit("Commands:"); - logit(" -Lport:host:hostport Request local forward"); - logit(" -Rport:host:hostport Request remote forward"); - logit(" -KRhostport Cancel remote forward"); + logit(" -L[bind_address:]port:host:hostport " + "Request local forward"); + logit(" -R[bind_address:]port:host:hostport " + "Request remote forward"); + logit(" -KR[bind_address:]hostport " + "Cancel remote forward"); if (!options.permit_local_command) goto out; - logit(" !args Execute local command"); + logit(" !args " + "Execute local command"); goto out; } |