summaryrefslogtreecommitdiffhomepage
path: root/cli-runopts.c
diff options
context:
space:
mode:
Diffstat (limited to 'cli-runopts.c')
-rw-r--r--cli-runopts.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/cli-runopts.c b/cli-runopts.c
index d0c9f3f..611723c 100644
--- a/cli-runopts.c
+++ b/cli-runopts.c
@@ -67,7 +67,7 @@ static void printhelp() {
"-W <receive_window_buffer> (default %d, larger may be faster, max 1MB)\n"
"-K <keepalive> (0 is never, default %d)\n"
#ifdef ENABLE_CLI_PROXYCMD
- "-J <proxy_program> Use program rather than tcp connection"
+ "-J <proxy_program> Use program rather than tcp connection\n"
#endif
#ifdef DEBUG_TRACE
"-v verbose\n"
@@ -297,14 +297,6 @@ void cli_getopts(int argc, char ** argv) {
}
}
-#ifdef ENABLE_CLI_PROXYCMD
- if (cli_opts.proxycmd != NULL) {
- /* XXX something more useful */
- cli_opts.remotehost = cli_opts.proxycmd;
- cli_opts.remoteport = "";
- }
-#endif
-
if (cli_opts.remotehost == NULL) {
printhelp();
exit(EXIT_FAILURE);