diff options
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 a9572134a..b99ba03c0 100644 --- a/clientloop.c +++ b/clientloop.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: clientloop.c,v 1.163 2006/05/16 09:00:00 markus Exp $ */ | 1 | /* $OpenBSD: clientloop.c,v 1.164 2006/06/26 10:36:15 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -925,12 +925,16 @@ process_cmdline(void) | |||
925 | 925 | ||
926 | if (*s == 'h' || *s == 'H' || *s == '?') { | 926 | if (*s == 'h' || *s == 'H' || *s == '?') { |
927 | logit("Commands:"); | 927 | logit("Commands:"); |
928 | logit(" -Lport:host:hostport Request local forward"); | 928 | logit(" -L[bind_address:]port:host:hostport " |
929 | logit(" -Rport:host:hostport Request remote forward"); | 929 | "Request local forward"); |
930 | logit(" -KRhostport Cancel remote forward"); | 930 | logit(" -R[bind_address:]port:host:hostport " |
931 | "Request remote forward"); | ||
932 | logit(" -KR[bind_address:]hostport " | ||
933 | "Cancel remote forward"); | ||
931 | if (!options.permit_local_command) | 934 | if (!options.permit_local_command) |
932 | goto out; | 935 | goto out; |
933 | logit(" !args Execute local command"); | 936 | logit(" !args " |
937 | "Execute local command"); | ||
934 | goto out; | 938 | goto out; |
935 | } | 939 | } |
936 | 940 | ||